mbox series

[0/2] Use intel_crtc_destroy state

Message ID 20231010183101.704439-1-suraj.kandpal@intel.com (mailing list archive)
Headers show
Series Use intel_crtc_destroy state | expand

Message

Kandpal, Suraj Oct. 10, 2023, 6:30 p.m. UTC
Use intel_crtc_destroy_state to avoid leakage of any resources
instead of the usual kfree

Signed-off-by: Suraj Kandpal <suraj.kandpal@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(-)