[PATCH 0/4] drm/i915/dp_mst: Fix error handling/clean up pointer use

Imre Deak imre.deak at intel.com
Wed Jan 8 15:19:11 UTC 2025


This patchset contains unapplied changes from [1], fixing an error
handling path while adding an MST connector and cleaning up the
intel_connector vs. drm_connector pointer use in intel_dp_mst.c,
addressing the review comments from Jani.

It also uses the driver's standard intel_display::platform.alderlake_p
instead of IS_ALDERLAKE_P(); the latter I noticed while rebasing the
patchset.

Cc: Jani Nikula <jani.nikula at intel.com>

[1] https://lore.kernel.org/all/20241211230328.4012496-1-imre.deak@intel.com

Imre Deak (5):
  drm/i915/dp_mst: Fix error handling while adding a connector
  drm/i915/dp_mst: Use intel_connector vs. drm_connector pointer in
    intel_dp_mst.c
  drm/i915/dp_mst: Simplify using to_intel_display() passing it an
    intel_connector pointer
  drm/i915/dp_mst: Simplify getting a drm_device pointer needed by
    to_i915()
  drm/i915/dp_mst: Use intel_display::platform.alderlake_p instead of
    IS_ALDERLAKE_P()

 drivers/gpu/drm/i915/display/intel_dp_mst.c | 202 ++++++++++----------
 1 file changed, 99 insertions(+), 103 deletions(-)

-- 
2.44.2



More information about the Intel-gfx mailing list