diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-08-12 10:47:56 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-09-08 10:23:44 +0100 |
commit | a29301288f1840bdf9c5456da9cd7c944436edd5 (patch) | |
tree | af468b9ad5861327446b31f15774b3eac4475bab /drivers/gpu/drm/i915/intel_overlay.c | |
parent | 60fc332cb5ab19e5a86d696b210df65814b2ad8a (diff) | |
download | talos-obmc-linux-a29301288f1840bdf9c5456da9cd7c944436edd5.tar.gz talos-obmc-linux-a29301288f1840bdf9c5456da9cd7c944436edd5.zip |
drm/i915/overlay: Use the recommended page alignment for physical regs
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_overlay.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_overlay.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_overlay.c b/drivers/gpu/drm/i915/intel_overlay.c index ab2a8cad8129..b0aea47cb445 100644 --- 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; |