mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-28 21:46:02 -04:00
drm/xe/display: Re-use display vmas when possible
i915 has this really nice, infrastructure where everything becomes complicated, GGTT needs eviction, etc.. Lets not do that, and make the dumbest possible interface instead. Try to retrieve the VMA from old_plane_state, or intel_fbdev if kernel fb. Link: https://patchwork.freedesktop.org/patch/msgid/20241206182032.196307-1-dev@lankhorst.se Signed-off-by: Maarten Lankhorst <dev@lankhorst.se> Reviewed-by: Animesh Manna <animesh.manna@intel.com> Tested-by: Jani Saarinen <jani.saarinen@intel.com>
This commit is contained in:
@@ -1135,7 +1135,7 @@ intel_prepare_plane_fb(struct drm_plane *_plane,
|
||||
if (!obj)
|
||||
return 0;
|
||||
|
||||
ret = intel_plane_pin_fb(new_plane_state);
|
||||
ret = intel_plane_pin_fb(new_plane_state, old_plane_state);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user