1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/display/amdgpu_dm
Melissa Wen 57a943ebfc drm/amd/display: enable cursor degamma for DCN3+ DRM legacy gamma
For DRM legacy gamma, AMD display manager applies implicit sRGB degamma
using a pre-defined sRGB transfer function. It works fine for DCN2
family where degamma ROM and custom curves go to the same color block.
But, on DCN3+, degamma is split into two blocks: degamma ROM for
pre-defined TFs and `gamma correction` for user/custom curves and
degamma ROM settings doesn't apply to cursor plane. To get DRM legacy
gamma working as expected, enable cursor degamma ROM for implict sRGB
degamma on HW with this configuration.

Cc: stable@vger.kernel.org
Link: https://gitlab.freedesktop.org/drm/amd/-/issues/2803
Fixes: 96b020e216 ("drm/amd/display: check attr flag before set cursor degamma on DCN3+")
Signed-off-by: Melissa Wen <mwen@igalia.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2023-09-06 22:09:33 -04:00
..
amdgpu_dm.c drm/amd/display: fix mode scaling (RMX_.*) 2023-08-31 17:59:48 -04:00
amdgpu_dm.h drm/amd/display: Get replay info from VSDB 2023-08-09 09:46:04 -04:00
amdgpu_dm_color.c Documentation/amdgpu_dm: Add DM color correction documentation 2022-08-16 18:14:32 -04:00
amdgpu_dm_crc.c drm/amd/display: Remove redundant braces in 'amdgpu_dm_crtc_notify_ta_to_read()' 2023-07-07 13:38:57 -04:00
amdgpu_dm_crc.h drm/amd/display: Fix in secure display context creation 2023-04-24 18:36:46 -04:00
amdgpu_dm_crtc.c drm/amd/display: Enable Replay for static screen use cases 2023-08-31 17:51:50 -04:00
amdgpu_dm_crtc.h drm/amd/display: add prefix to amdgpu_dm_crtc.h functions 2023-03-08 14:05:53 -05:00
amdgpu_dm_debugfs.c drm/amd/display: Use seq_puts() in 'amdgpu_current_colorspace_show()' & 'edp_ilr_show()' 2023-07-07 13:39:02 -04:00
amdgpu_dm_debugfs.h drm/amd/display: Move connector debugfs to drm 2022-05-23 11:27:44 +03:00
amdgpu_dm_hdcp.c drm/amd/display: Change HDCP update sequence for DM 2023-08-07 17:14:09 -04:00
amdgpu_dm_hdcp.h drm/amd/display: phase2 enable mst hdcp multiple displays 2023-01-17 15:41:19 -05:00
amdgpu_dm_helpers.c drm/amd/display: Replace ternary operator with min() in 'dm_helpers_parse_edid_caps' 2023-08-15 18:08:30 -04:00
amdgpu_dm_irq.c drm/amd/display: Clean up style problems in amdgpu_dm_irq.c 2023-07-07 13:38:53 -04:00
amdgpu_dm_irq.h drm/amd/display: Support for DMUB AUX 2021-05-10 18:06:44 -04:00
amdgpu_dm_irq_params.h drm/amd/display: Implement secure display on DCN21 2022-10-27 14:42:32 -04:00
amdgpu_dm_mst_types.c drm/amd/display: Fix a regression on Polaris cards 2023-08-09 10:55:41 -04:00
amdgpu_dm_mst_types.h drm/amd/display: Add polling method to handle MST reply packet 2023-07-18 14:32:37 -04:00
amdgpu_dm_plane.c drm/amd/display: enable cursor degamma for DCN3+ DRM legacy gamma 2023-09-06 22:09:33 -04:00
amdgpu_dm_plane.h drm/amd/display: add prefix to amdgpu_dm_plane.h functions 2023-03-08 14:04:45 -05:00
amdgpu_dm_pp_smu.c drm/amd/display: Clean up warnings in amdgpu_dm_pp_smu.c 2023-07-07 13:51:47 -04:00
amdgpu_dm_psr.c drm/amd/display: Clean up warnings in amdgpu_dm _mst_types, _plane, _psr.c 2023-07-07 13:51:47 -04:00
amdgpu_dm_psr.h drm/amd/display: Delay PSR entry 2021-06-21 17:45:14 -04:00
amdgpu_dm_replay.c drm/amd/display: Get replay info from VSDB 2023-08-09 09:46:04 -04:00
amdgpu_dm_replay.h drm/amd/display: Add Freesync Panel DM code 2023-08-07 17:14:07 -04:00
amdgpu_dm_services.c drm/amd/display: Decouple amdgpu_dm_trace from service 2020-10-26 13:33:59 -04:00
amdgpu_dm_trace.h drm/amd/display: Add events log to trace OPTC lock and unlock 2022-10-24 14:36:06 -04:00
dc_fpu.c drm/amdgpu/display: Enable DC_FP for LoongArch 2023-06-09 09:36:48 -04:00
dc_fpu.h drm/amd/display: Add DC_FP helper to check FPU state 2021-08-05 21:17:59 -04:00
Makefile drm/amd/display: Add Freesync Panel DM code 2023-08-07 17:14:07 -04:00