Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1388015 > unrolled thread

[PATCH 3.19.y-ckt 51/66] drm: Loongson-3 doesn't fully support wc memory

Started byKamal Mostafa <kamal@canonical.com>
First post2016-04-26 22:30 +0200
Last post2016-04-26 22:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 3.19.y-ckt 51/66] drm: Loongson-3 doesn't fully support wc memory Kamal Mostafa <kamal@canonical.com> - 2016-04-26 22:30 +0200

#1388015 — [PATCH 3.19.y-ckt 51/66] drm: Loongson-3 doesn't fully support wc memory

FromKamal Mostafa <kamal@canonical.com>
Date2016-04-26 22:30 +0200
Subject[PATCH 3.19.y-ckt 51/66] drm: Loongson-3 doesn't fully support wc memory
Message-ID<rshMn-5Dx-33@gated-at.bofh.it>
3.19.8-ckt20 -stable review patch.  If anyone has any objections, please let me know.

---8<------------------------------------------------------------

From: Huacai Chen <chenhc@lemote.com>

commit 221004c66a58949a0f25c937a6789c0839feb530 upstream.

Signed-off-by: Huacai Chen <chenhc@lemote.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
---
 include/drm/drm_cache.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/drm/drm_cache.h b/include/drm/drm_cache.h
index 461a055..cebecff 100644
--- a/include/drm/drm_cache.h
+++ b/include/drm/drm_cache.h
@@ -39,6 +39,8 @@ static inline bool drm_arch_can_wc_memory(void)
 {
 #if defined(CONFIG_PPC) && !defined(CONFIG_NOT_COHERENT_CACHE)
 	return false;
+#elif defined(CONFIG_MIPS) && defined(CONFIG_CPU_LOONGSON3)
+	return false;
 #else
 	return true;
 #endif
-- 
2.7.4

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web