]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amd/display: Add FAMS validation before trying to use it
authorRodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Fri, 24 Mar 2023 20:29:52 +0000 (14:29 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 18 Apr 2023 20:28:52 +0000 (16:28 -0400)
commite3416e872f84086667df21daf166506fab97358d
treed687d9548e89a2180284931a0ea7871e3505eaac
parentcdff36a0217aadf5cbc167893ad1c0da869619cb
drm/amd/display: Add FAMS validation before trying to use it

To ensure that FAMS can be used, DC must check if there is VRR support.
This commit adds the required configuration to ensure FAMS can be executed in the target system.

Reviewed-by: Alvin Lee <Alvin.Lee2@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c
drivers/gpu/drm/amd/display/dc/dc_stream.h
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_optc.c
drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h