Commit 79601b8
drm/amd/display: Calculate output_color_space after pixel encoding adjustment
Code in get_output_color_space depends on knowing the pixel encoding to
determine whether to pick between eg. COLOR_SPACE_SRGB or
COLOR_SPACE_YCBCR709 for transparent RGB -> YCbCr 4:4:4 in the driver.
v2: Fixed patch being accidentally based on a personal feature branch, oops!
Fixes: ea11731 ("drm/amd/display: Reduce HDMI pixel encoding if max clock is exceeded")
Reviewed-by: Melissa Wen <[email protected]>
Signed-off-by: Joshua Ashton <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Cc: [email protected]1 parent 4463b1e commit 79601b8
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5311 | 5311 | | |
5312 | 5312 | | |
5313 | 5313 | | |
5314 | | - | |
5315 | | - | |
5316 | 5314 | | |
5317 | 5315 | | |
5318 | 5316 | | |
| |||
5323 | 5321 | | |
5324 | 5322 | | |
5325 | 5323 | | |
| 5324 | + | |
| 5325 | + | |
5326 | 5326 | | |
5327 | 5327 | | |
5328 | 5328 | | |
| |||
0 commit comments