Skip to content

Commit 3581f30

Browse files
committed
drm/i915: Delete outdated comment in byt_pte_encode
This has been invalidated in commit 24f3a8c Author: Akash Goel <[email protected]> Date: Tue Jun 17 10:59:42 2014 +0530 drm/i915: Added write-enable pte bit supportt But despite that it's in the diff context no one noticed :( Cc: Akash Goel <[email protected]> Cc: Imre Deak <[email protected]> Signed-off-by: Daniel Vetter <[email protected]>
1 parent 1c5bb42 commit 3581f30

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

drivers/gpu/drm/i915/i915_gem_gtt.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,9 +164,6 @@ static gen6_gtt_pte_t byt_pte_encode(dma_addr_t addr,
164164
gen6_gtt_pte_t pte = valid ? GEN6_PTE_VALID : 0;
165165
pte |= GEN6_PTE_ADDR_ENCODE(addr);
166166

167-
/* Mark the page as writeable. Other platforms don't have a
168-
* setting for read-only/writable, so this matches that behavior.
169-
*/
170167
if (!(flags & PTE_READ_ONLY))
171168
pte |= BYT_PTE_WRITEABLE;
172169

0 commit comments

Comments
 (0)