diff options
author | Jani Nikula <jani.nikula@intel.com> | 2022-08-16 18:37:20 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2022-08-18 13:10:31 +0300 |
commit | f4a6c7a454a6e71c5ccf25af82694213a9784013 (patch) | |
tree | d2a5c27f6a884cefcbef927e24bd09d9071fc5bd /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 78f48aa6f50b662bd74607f7415d68171339b2eb (diff) |
drm/i915/dsi: filter invalid backlight and CABC ports
Avoid using ports that aren't initialized in case the VBT backlight or
CABC ports have invalid values. This fixes a NULL pointer dereference of
intel_dsi->dsi_hosts[port] in such cases.
Cc: stable@vger.kernel.org
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/b0f4f087866257d280eb97d6bcfcefd109cc5fa2.1660664162.git.jani.nikula@intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions