diff options
author | Imre Deak <imre.deak@intel.com> | 2023-10-30 02:13:08 +0300 |
---|---|---|
committer | Imre Deak <imre.deak@intel.com> | 2023-11-08 18:22:04 +0300 |
commit | 560ea72c76eb6d0c59f77580414e64cc09f1093d (patch) | |
tree | 9f05a4362c159242329197713e8835244f2c69a7 /drivers/gpu/drm/display | |
parent | 607a2c64e879580ef361af65d6052367057bee14 (diff) | |
download | linux-560ea72c76eb6d0c59f77580414e64cc09f1093d.tar.xz |
drm/i915/dp_mst: Fix race between connector registration and setup
After drm_connector_init() is called the connector is visible to the
rest of the kernel via the drm_mode_config::connector_list. Make
sure that the DSC AUX device and capabilities are setup by that time.
Another race condition is adding the connector to the connector list
before drm_connector_helper_add() sets the connector helper functions.
That's an unrelated issue, for which the fix is for a follow-up. One
solution would be adding the connector to the connector list only
during its registration in drm_connector_register().
Cc: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Fixes: 808b43fa7e56 ("drm/i915/dp_mst: Set connector DSC capabilities and decompression AUX")
Reviewed-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231030155843.2251023-2-imre.deak@intel.com
Diffstat (limited to 'drivers/gpu/drm/display')
0 files changed, 0 insertions, 0 deletions