aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorImre Deak <[email protected]>2023-10-29 23:13:08 +0000
committerJani Nikula <[email protected]>2023-11-20 09:06:34 +0000
commit018903e1cec3421a6198589fabd30682eb277904 (patch)
tree5ed28b4f20c307e59545b8bf9bdc3fe46bdc9b34 /drivers/fpga/fpga-bridge.c
parentLinux 6.7-rc2 (diff)
downloadkernel-018903e1cec3421a6198589fabd30682eb277904.tar.gz
kernel-018903e1cec3421a6198589fabd30682eb277904.zip
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 <[email protected]> Cc: Ville Syrjälä <[email protected]> Fixes: 808b43fa7e56 ("drm/i915/dp_mst: Set connector DSC capabilities and decompression AUX") Reviewed-by: Stanislav Lisovskiy <[email protected]> Signed-off-by: Imre Deak <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] (cherry picked from commit 560ea72c76eb6d0c59f77580414e64cc09f1093d) Signed-off-by: Jani Nikula <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions