diff options
author | Jani Nikula <[email protected]> | 2023-08-03 15:27:06 +0300 |
---|---|---|
committer | Jani Nikula <[email protected]> | 2023-08-04 17:37:15 +0300 |
commit | 26e60294e8eacedc8ebb33405b2c375fd80e0900 (patch) | |
tree | 232b2587914398e8e7ab2b3775cc8719bab4ced2 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 90c0756a5e8ef3664ee924ff82131de7b53dc6a2 (diff) |
drm/i915/sdvo: fix panel_type initialization
Commit 3f9ffce5765d ("drm/i915: Do panel VBT init early if the VBT
declares an explicit panel type") started using -1 as the value for
unset panel_type. It gets initialized in intel_panel_init_alloc(), but
the SDVO code never calls it.
Call intel_panel_init_alloc() to initialize the panel, including the
panel_type.
Reported-by: Tomi Leppänen <[email protected]>
Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/8896
Fixes: 3f9ffce5765d ("drm/i915: Do panel VBT init early if the VBT declares an explicit panel type")
Cc: Ville Syrjälä <[email protected]>
Cc: <[email protected]> # v6.1+
Reviewed-by: Uma Shankar <[email protected]>
Tested-by: Tomi Leppänen <[email protected]>
Signed-off-by: Jani Nikula <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions