[PATCH 0/2] drm/i915: Prevent HW access during init from connector hooks
Imre Deak
imre.deak at intel.com
Tue Feb 6 15:39:08 UTC 2024
Accessing the display HW from the connector get_modes hooks should be
prevented during driver init/shutdown similarly to how this is done in
the encoder detect hooks and modeset as explained in the following
commits:
drm/i915: Prevent modesets during driver init/shutdown
drm/i915: Disable hotplug detection works during driver init/shutdown
drm/i915: Disable hotplug detection handlers during driver init/shutdown
For the DP-SST/HDMI connectors the above is already ensured, since for
these the required HW access - to read out the display's EDID - happens
in the encoders' detect hook, however other connectors do a
corresponding detection/HW access from the connector get_modes hook.
Disable the access during init/shutdown from these hooks as well.
Imre Deak (2):
drm/i915: Prevent HW access during init from SDVO TV get_modes hook
drm/i915: Prevent HW access during init from connector get_modes hooks
drivers/gpu/drm/i915/display/intel_crt.c | 7 +++++++
drivers/gpu/drm/i915/display/intel_dp_mst.c | 4 ++++
drivers/gpu/drm/i915/display/intel_dvo.c | 5 +++++
drivers/gpu/drm/i915/display/intel_sdvo.c | 8 ++++++++
4 files changed, 24 insertions(+)
--
2.39.2
More information about the Intel-gfx
mailing list