All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm: Loongson-3 doesn't fully support wc memory
@ 2016-04-19 11:19 Huacai Chen
  2016-04-19 13:53   ` Alex Deucher
  0 siblings, 1 reply; 8+ messages in thread
From: Huacai Chen @ 2016-04-19 11:19 UTC (permalink / raw)
  To: David Airlie; +Cc: dri-devel, linux-mips, Huacai Chen

Signed-off-by: Huacai Chen <chenhc@lemote.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.0

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-04-20 11:24 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-19 11:19 [PATCH] drm: Loongson-3 doesn't fully support wc memory Huacai Chen
2016-04-19 13:53 ` Alex Deucher
2016-04-19 13:53   ` Alex Deucher
2016-04-20  6:18   ` Huacai Chen
2016-04-20  6:18     ` Huacai Chen
2016-04-20  6:49     ` Greg KH
2016-04-20 11:24       ` Daniel Vetter
2016-04-20 11:24         ` Daniel Vetter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.