diff options
author | Imre Deak <imre.deak@intel.com> | 2024-02-12 20:52:36 +0300 |
---|---|---|
committer | Imre Deak <imre.deak@intel.com> | 2024-02-13 14:24:16 +0300 |
commit | 5c5a7fa612139e481e2fab368ddd86ae18866547 (patch) | |
tree | 6a1f6e720e9d2d481f14e5fbc5ae9cd72209aefa /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 00c3959d63ae52e98b8e6776c9dba65291f8d137 (diff) | |
download | linux-5c5a7fa612139e481e2fab368ddd86ae18866547.tar.xz |
drm/i915: Prevent HW access during init from SDVO TV get_modes hook
Prevent accessing the HW from the SDVO/TV get_modes connector hook.
Returning 0 from the hook will make the caller -
drm_helper_probe_single_connector_modes() - return a default/EDID
override mode list to users. This matches the case where
intel_sdvo_get_tv_modes() fails to retrieve the current mode list due to
a HW access failure.
v2: Clarify the commit message wrt. which modes get_modes() returns. (Jouni)
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Jouni Högander <jouni.hogander@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240212175237.2625812-1-imre.deak@intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions