diff options
| author | Guilherme G. Piccoli <[email protected]> | 2023-01-30 19:56:07 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-02-03 20:39:03 +0000 |
| commit | febb414745d98f0a6f14d7fd53f1965a455e19d5 (patch) | |
| tree | 0207f3547c0823e566a8dcb94d1db24100df1fb1 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
| parent | drm/amd/display: reduce else-if to else in dcn32_calculate_dlg_params() (diff) | |
| download | kernel-febb414745d98f0a6f14d7fd53f1965a455e19d5.tar.gz kernel-febb414745d98f0a6f14d7fd53f1965a455e19d5.zip | |
drm/amd/display: Trivial swizzle-related code clean-ups
This is a very trivial code clean-up related to commit 5468c36d6285
("drm/amd/display: Filter Invalid 420 Modes for HDMI TMDS"). This commit
added a validation on driver probe to prevent invalid TMDS modes, but one
of the fake properties (swizzle) ended-up causing a warning on driver
probe; was reported here: https://gitlab.freedesktop.org/drm/amd/-/issues/2264.
It was fixed by commit a1cbe6916f44 ("drm/amd/display: patch cases with
unknown plane state to prevent warning"), but the validation code had
a double variable assignment, which we hereby remove. Also, the fix relies
in the dcn2{0,1}patch_unknown_plane_state() callbacks, so while at it we
took the opportunity to perform a small code clean-up in such routines.
Cc: Aurabindo Pillai <[email protected]>
Cc: Daniel Wheeler <[email protected]>
Cc: Fangzhi Zuo <[email protected]>
Cc: Harry Wentland <[email protected]>
Cc: Leo Li <[email protected]>
Cc: Mark Broadworth <[email protected]>
Cc: Melissa Wen <[email protected]>
Cc: Rodrigo Siqueira <[email protected]>
Cc: Sung Joon Kim <[email protected]>
Cc: Swapnil Patel <[email protected]>
Reviewed-by: Harry Wentland <[email protected]>
Signed-off-by: Guilherme G. Piccoli <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions
