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>
This commit is contained in:
parent
60fc332cb5
commit
a29301288f
1 changed files with 1 additions and 1 deletions
|
@ -1406,7 +1406,7 @@ void intel_setup_overlay(struct drm_device *dev)
|
||||||
if (OVERLAY_NEEDS_PHYSICAL(dev)) {
|
if (OVERLAY_NEEDS_PHYSICAL(dev)) {
|
||||||
ret = i915_gem_attach_phys_object(dev, reg_bo,
|
ret = i915_gem_attach_phys_object(dev, reg_bo,
|
||||||
I915_GEM_PHYS_OVERLAY_REGS,
|
I915_GEM_PHYS_OVERLAY_REGS,
|
||||||
0);
|
PAGE_SIZE);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
DRM_ERROR("failed to attach phys overlay regs\n");
|
DRM_ERROR("failed to attach phys overlay regs\n");
|
||||||
goto out_free_bo;
|
goto out_free_bo;
|
||||||
|
|
Loading…
Add table
Reference in a new issue