1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/display
Krzysztof Karas 080b2e7b5e drm/display: use ERR_PTR on DP tunnel manager creation fail
Instead of returning a generic NULL on error from
drm_dp_tunnel_mgr_create(), use error pointers with informative codes
to align the function with stub that is executed when
CONFIG_DRM_DISPLAY_DP_TUNNEL is unset. This will also trigger IS_ERR()
in current caller (intel_dp_tunnerl_mgr_init()) instead of bypassing it
via NULL pointer.

v2: use error codes inside drm_dp_tunnel_mgr_create() instead of handling
 on caller's side (Michal, Imre)

v3: fixup commit message and add "CC"/"Fixes" lines (Andi),
 mention aligning function code with stub

Fixes: 91888b5b1a ("drm/i915/dp: Add support for DP tunnel BW allocation")
Cc: Imre Deak <imre.deak@intel.com>
Cc: <stable@vger.kernel.org> # v6.9+
Signed-off-by: Krzysztof Karas <krzysztof.karas@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/7q4fpnmmztmchczjewgm6igy55qt6jsm7tfd4fl4ucfq6yg2oy@q4lxtsu6445c
2024-12-13 18:57:34 +02:00
..
drm_bridge_connector.c drm/display: bridge_connector: handle ycbcr_420_allowed 2024-10-24 22:42:25 +03:00
drm_display_helper_mod.c drm/display: Introduce a DRM display-helper module 2022-04-25 11:19:21 +02:00
drm_dp_aux_bus.c drm: display: Set fwnode for aux bus devices 2024-11-05 14:03:27 +01:00
drm_dp_aux_dev.c driver core: class: remove module * from class_create() 2023-03-17 15:16:33 +01:00
drm_dp_cec.c drm/cec: add drm_dp_cec_attach() as the non-edid version of set edid 2023-09-01 11:47:53 +03:00
drm_dp_dual_mode_helper.c drm/display: Fix building with GCC 15 2024-10-10 14:56:46 +03:00
drm_dp_helper.c drm/dp: Add helper to dump an LTTPR PHY descriptor 2024-07-11 20:56:26 +03:00
drm_dp_helper_internal.h drm/display: Make DisplayPort AUX Chardev Kconfig name consistent 2024-03-28 11:26:46 +01:00
drm_dp_mst_topology.c drm/dp_mst: Use reset_msg_rx_state() instead of open coding it 2024-12-05 16:49:41 +02:00
drm_dp_mst_topology_internal.h drm/dp_mst: avoid includes in drm_dp_mst_topology_internal.h 2024-03-11 11:47:06 +02:00
drm_dp_tunnel.c drm/display: use ERR_PTR on DP tunnel manager creation fail 2024-12-13 18:57:34 +02:00
drm_dsc_helper.c drm/display/dsc: Add a helper to dump the DSC configuration 2024-07-03 18:05:12 +03:00
drm_hdcp_helper.c drm/sysfs: rename drm_sysfs_connector_status_event() 2023-06-23 15:54:00 +02:00
drm_hdmi_helper.c drm/display: hdmi: Add HDMI compute clock helper 2024-05-28 10:12:25 +02:00
drm_hdmi_state_helper.c drm/connector: hdmi: Fix writing Dynamic Range Mastering infoframes 2024-09-24 16:10:12 +02:00
drm_scdc_helper.c drm/scdc-helper: Pimp SCDC debugs 2023-04-06 01:30:12 +03:00
Kconfig drm/display: Drop obsolete dependency on COMPILE_TEST 2024-10-18 13:06:55 +03:00
Makefile Merge drm/drm-next into drm-misc-next 2024-09-11 09:48:49 +02:00