]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/xe: Move the FORCE_WC assert into __xe_pin_fb_vma()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 8 May 2026 14:34:17 +0000 (17:34 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 11 May 2026 14:43:24 +0000 (17:43 +0300)
commit77f00edf435ed8359a074682d87b5bd1f3375638
treefc89fbfd2acf41a2c1e0089c6f5c3d0a65cbe9ce
parentda5c2fc64eb55c38ab42fc653f70316bf3e66f4c
drm/xe: Move the FORCE_WC assert into __xe_pin_fb_vma()

No need to bother the higher level pinning code with the
FORCE_WC assert. Move it into the lower level function.

This also introduces the check to intel_fb_pin_to_ggtt(), which
(for the moment) is still used for the fbdev bo setup. But this
is all display stuff we're talking about here so having the check
is correct everywhere.

v2: Pimp the commit message a bit (Jani)

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-8-ville.syrjala@linux.intel.com
drivers/gpu/drm/xe/display/xe_fb_pin.c