diff options
author | Karol Herbst <[email protected]> | 2023-08-05 12:18:13 +0200 |
---|---|---|
committer | Karol Herbst <[email protected]> | 2023-08-08 12:25:33 +0200 |
commit | d5712cd22b9cf109fded1b7f178f4c1888c8b84b (patch) | |
tree | bbea2497afbf6a7607d71e6141a56f8c88ba5d2a /scripts/generate_rust_analyzer.py | |
parent | 3c6bd1b7e2043fb00ce6b622709d176609431406 (diff) |
drm/nouveau/disp: Revert a NULL check inside nouveau_connector_get_modes
The original commit adding that check tried to protect the kenrel against
a potential invalid NULL pointer access.
However we call nouveau_connector_detect_depth once without a native_mode
set on purpose for non LVDS connectors and this broke DP support in a few
cases.
Cc: Olaf Skibbe <[email protected]>
Cc: Lyude Paul <[email protected]>
Closes: https://gitlab.freedesktop.org/drm/nouveau/-/issues/238
Closes: https://gitlab.freedesktop.org/drm/nouveau/-/issues/245
Fixes: 20a2ce87fbaf8 ("drm/nouveau/dp: check for NULL nv_connector->native_mode")
Signed-off-by: Karol Herbst <[email protected]>
Reviewed-by: Lyude Paul <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions