[Intel-gfx] [PATCH 0/2] Use intel_crtc_destroy state

Suraj Kandpal suraj.kandpal at intel.com
Tue Oct 10 18:30:59 UTC 2023


Use intel_crtc_destroy_state to avoid leakage of any resources
instead of the usual kfree

Signed-off-by: Suraj Kandpal <suraj.kandpal at intel.com>

Suraj Kandpal (2):
  drm/i915/display: Use intel_crtc_destroy_state instead kfree
  drm/i915/display: Use correct method to free crtc_state

 drivers/gpu/drm/i915/display/intel_display.c | 4 ++--
 drivers/gpu/drm/i915/display/intel_dpll.c    | 3 ++-
 2 files changed, 4 insertions(+), 3 deletions(-)

-- 
2.25.1



More information about the Intel-gfx mailing list