projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60fc332
)
drm/i915/overlay: Use the recommended page alignment for physical regs
author
Chris Wilson
<chris@chris-wilson.co.uk>
Thu, 12 Aug 2010 09:47:56 +0000
(10:47 +0100)
committer
Chris Wilson
<chris@chris-wilson.co.uk>
Wed, 8 Sep 2010 09:23:44 +0000
(10:23 +0100)
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_overlay.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/intel_overlay.c
b/drivers/gpu/drm/i915/intel_overlay.c
index ab2a8cad812927067b2afed51589121d5cb03fa0..b0aea47cb4452fc0e66d20a6240ff03bf81f8d06 100644
(file)
--- a/
drivers/gpu/drm/i915/intel_overlay.c
+++ b/
drivers/gpu/drm/i915/intel_overlay.c
@@
-1406,7
+1406,7
@@
void intel_setup_overlay(struct drm_device *dev)
if (OVERLAY_NEEDS_PHYSICAL(dev)) {
ret = i915_gem_attach_phys_object(dev, reg_bo,
I915_GEM_PHYS_OVERLAY_REGS,
-
0
);
+
PAGE_SIZE
);
if (ret) {
DRM_ERROR("failed to attach phys overlay regs\n");
goto out_free_bo;