drm/i915: Apply i830 errata for cursor alignment
i830 requires 32bpp cursors to be aligned to 16KB, so we have to expose the alignment parameter to i915_gem_attach_phys_object(). Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
committed by
Eric Anholt
parent
560b85bb75
commit
6eeefaf3c8
@@ -1367,7 +1367,8 @@ void intel_setup_overlay(struct drm_device *dev)
|
||||
overlay->flip_addr = overlay->reg_bo->gtt_offset;
|
||||
} else {
|
||||
ret = i915_gem_attach_phys_object(dev, reg_bo,
|
||||
I915_GEM_PHYS_OVERLAY_REGS);
|
||||
I915_GEM_PHYS_OVERLAY_REGS,
|
||||
0);
|
||||
if (ret) {
|
||||
DRM_ERROR("failed to attach phys overlay regs\n");
|
||||
goto out_free_bo;
|
||||
|
Reference in New Issue
Block a user