diff options
| author | Maarten Lankhorst <[email protected]> | 2024-12-06 18:20:32 +0000 |
|---|---|---|
| committer | Maarten Lankhorst <[email protected]> | 2025-01-21 08:47:57 +0000 |
| commit | 67a98f7e27baf8c22483ec4873a8d8efdf71b55d (patch) | |
| tree | 1ba139ef0f0ee950acdb43f3c42767ab87a0ea65 /drivers/gpu/drm/i915/display/intel_cursor.c | |
| parent | drm/i915/hdcp: Use correct function to check if encoder is HDMI (diff) | |
| download | kernel-67a98f7e27baf8c22483ec4873a8d8efdf71b55d.tar.gz kernel-67a98f7e27baf8c22483ec4873a8d8efdf71b55d.zip | |
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/[email protected]
Signed-off-by: Maarten Lankhorst <[email protected]>
Reviewed-by: Animesh Manna <[email protected]>
Tested-by: Jani Saarinen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_cursor.c')
| -rw-r--r-- | drivers/gpu/drm/i915/display/intel_cursor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_cursor.c b/drivers/gpu/drm/i915/display/intel_cursor.c index 57cf8f46a458..ae7243ad6e0c 100644 --- a/drivers/gpu/drm/i915/display/intel_cursor.c +++ b/drivers/gpu/drm/i915/display/intel_cursor.c @@ -865,7 +865,7 @@ intel_legacy_cursor_update(struct drm_plane *_plane, if (ret) goto out_free; - ret = intel_plane_pin_fb(new_plane_state); + ret = intel_plane_pin_fb(new_plane_state, old_plane_state); if (ret) goto out_free; |
