]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/i915: Move the i915_dpt_offset()==0 assert
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 8 May 2026 14:34:13 +0000 (17:34 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 11 May 2026 14:43:24 +0000 (17:43 +0300)
commitef2b2e7c10ff6a1d077fda977b01f1802a1d5415
treee29f9e459341a5d98112bfd60b41e5327a241570
parent65585c16d9d9e9b96341059f8be497c5f9b8c019
drm/i915: Move the i915_dpt_offset()==0 assert

Move the i915_dpt_offset() check into the lower level
intel_fb_pin_to_dpt() function. Clears out some of the unnecessary
junk from the higher level code, making it easier to introduce
the new fb_pin parent interface.

Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patch.msgid.link/20260508143426.26504-4-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/i915_fb_pin.c