]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915/display: Free crtc_state in verify_crtc_state
authorSuraj Kandpal <suraj.kandpal@intel.com>
Tue, 10 Oct 2023 05:32:09 +0000 (11:02 +0530)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 10 Oct 2023 18:43:57 +0000 (21:43 +0300)
commit85c477011dd3f601ed050a859e74fe82d414a123
treeb5e5024d97826a51b7571e2426a3d86b50762107
parent2bc823c920fa8fee5db562f1b15ad1f9869c9cb3
drm/i915/display: Free crtc_state in verify_crtc_state

Free hw_crtc_state in verify_crtc_state after we are done using
this or else it's just a resource leak.

Fixes: 2745bdda2095 ("drm/i915: Stop clobbering old crtc state during state check")
Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231010053208.691260-1-suraj.kandpal@intel.com
drivers/gpu/drm/i915/display/intel_modeset_verify.c