Thread (4 messages) flat view 4 messages, 3 authors, 2017-01-26

RE: [PATCH] Fix 64 bit addressing support for GEM

From: Rafal Ozieblo <hidden>
Date: 2017-01-26 16:16:40
Also in: lkml

-----Original Message-----
From: Rafal Ozieblo [mailto:rafalo@cadence.com] 
Sent: 26 stycznia 2017 16:01
Subject: [PATCH] Fix 64 bit addressing support for GEM

This patch adds support for 32 bit GEM in
64 bit system. It checks capability at runtime
and uses appropriate buffer descriptor.

Signed-off-by: Rafal Ozieblo <redacted>
---
 #ifdef CONFIG_ARCH_DMA_ADDR_T_64BIT
-	if (GEM_BFEXT(DBWDEF, gem_readl(bp, DCFG1)) > GEM_DBW32)
+	if (GEM_BFEXT(DAW64, gem_readl(bp, DCFG6))) {
+		pr_emerg("rozieblo: 64B!\n");
I forgot to remove that log message.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help