Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a2930128 authored by Chris Wilson's avatar Chris Wilson
Browse files

drm/i915/overlay: Use the recommended page alignment for physical regs

parent 60fc332c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;