Commit 2e65682
drm/amd/display: Send correct DP colorspace infopacket
Look at connector->colorimetry to determine output colorspace.
We don't want to impact current SDR behavior, so
DRM_MODE_COLORIMETRY_DEFAULT preserves current behavior.
Also add support to explicitly set BT601 and BT709.
v4:
- Roll support for BT709 and BT601 into this patch
- Add default case to avoid warnings for unhandled
enum values
Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Joshua Ashton <joshua@froggi.es>
Cc: Pekka Paalanen <ppaalanen@gmail.com>
Cc: Sebastian Wick <sebastian.wick@redhat.com>
Cc: Vitaly.Prosyak@amd.com
Cc: Joshua Ashton <joshua@froggi.es>
Cc: Simon Ser <contact@emersion.fr>
Cc: Melissa Wen <mwen@igalia.com>
Cc: dri-devel@lists.freedesktop.org
Cc: amd-gfx@lists.freedesktop.org
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>1 parent a0b433c commit 2e65682
1 file changed
Lines changed: 31 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5339 | 5339 | | |
5340 | 5340 | | |
5341 | 5341 | | |
5342 | | - | |
| 5342 | + | |
| 5343 | + | |
5343 | 5344 | | |
5344 | 5345 | | |
5345 | 5346 | | |
5346 | | - | |
5347 | | - | |
5348 | | - | |
5349 | | - | |
5350 | | - | |
| 5347 | + | |
| 5348 | + | |
| 5349 | + | |
| 5350 | + | |
| 5351 | + | |
| 5352 | + | |
| 5353 | + | |
| 5354 | + | |
| 5355 | + | |
| 5356 | + | |
| 5357 | + | |
| 5358 | + | |
| 5359 | + | |
| 5360 | + | |
| 5361 | + | |
| 5362 | + | |
| 5363 | + | |
| 5364 | + | |
| 5365 | + | |
| 5366 | + | |
| 5367 | + | |
| 5368 | + | |
| 5369 | + | |
| 5370 | + | |
| 5371 | + | |
| 5372 | + | |
| 5373 | + | |
5351 | 5374 | | |
5352 | 5375 | | |
5353 | 5376 | | |
5354 | 5377 | | |
5355 | 5378 | | |
5356 | | - | |
| 5379 | + | |
5357 | 5380 | | |
5358 | 5381 | | |
5359 | 5382 | | |
| |||
5366 | 5389 | | |
5367 | 5390 | | |
5368 | 5391 | | |
5369 | | - | |
5370 | | - | |
5371 | | - | |
5372 | | - | |
5373 | | - | |
5374 | | - | |
5375 | | - | |
5376 | | - | |
5377 | | - | |
5378 | 5392 | | |
5379 | 5393 | | |
5380 | 5394 | | |
| |||
5513 | 5527 | | |
5514 | 5528 | | |
5515 | 5529 | | |
5516 | | - | |
| 5530 | + | |
5517 | 5531 | | |
5518 | 5532 | | |
5519 | 5533 | | |
| |||
0 commit comments