mirror_ubuntu-kernels/drivers/gpu/drm/amd
Krunoslav Kovac d288c87151 drm/amd/display: Gamut remap only changes missed
[WHY&HOW]
If surface format is dynamically changed within app without changing
timing / whole plane, we don't reprogram gamut remap matrix.

Issue example:
Linear FP16 scRGB going to PQ+BT.2020 monitor.
Remap = scRGB->BT.2020

App switches swapchain format to 10-bit PQ+BT.2020.
SW calculates correctly that new Remap = bypass (in=-out=BT.2020).
But update not applied in HW.

Reviewed-by: Jun Lei <jun.lei@amd.com>
Acked-by: Stylon Wang <stylon.wang@amd.com>
Signed-off-by: Krunoslav Kovac <krunoslav.kovac@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2023-08-15 18:08:28 -04:00
..
acp
amdgpu drm/amdgpu/vcn: change end doorbell index for vcn_v4_0_3 2023-08-15 18:08:28 -04:00
amdkfd drm/amdkfd: Remove unnecessary NULL values 2023-08-15 18:08:27 -04:00
amdxcp drm/amdxcp: fix Makefile to build amdxcp module 2023-06-09 12:32:53 -04:00
display drm/amd/display: Gamut remap only changes missed 2023-08-15 18:08:28 -04:00
include drm/amdgpu: Add pci usage to nbio v7.9 2023-08-09 09:46:05 -04:00
pm drm/amd: Add amdgpu_hwmon_get_sensor_generic() 2023-08-15 18:08:27 -04:00