aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/modules/inc/mod_shared.h
diff options
context:
space:
mode:
authorHaiyi Zhou <[email protected]>2020-04-03 14:00:58 +0000
committerAlex Deucher <[email protected]>2020-04-22 22:11:47 +0000
commitd2bacc38f6caa96e6d67d2e3e2bd0aee36de6954 (patch)
tree90195934b41d0095998e31777ecafafb5e12e6c2 /drivers/gpu/drm/amd/display/modules/inc/mod_shared.h
parentdrm/amd/display: Avoid NULL pointer in set_backlight when ABM is NULL (diff)
downloadkernel-d2bacc38f6caa96e6d67d2e3e2bd0aee36de6954.tar.gz
kernel-d2bacc38f6caa96e6d67d2e3e2bd0aee36de6954.zip
drm/amd/display: Change infopacket type programming
[Why] Certain displays may experience blanking if infopacket max range does not equal nominal refresh rate. [How] Add additional infopacket versions to program range to full or forced range in freesync states. This does not change the vrr logic. Signed-off-by: Haiyi Zhou <[email protected]> Reviewed-by: Anthony Koo <[email protected]> Acked-by: Rodrigo Siqueira <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/modules/inc/mod_shared.h')
-rw-r--r--drivers/gpu/drm/amd/display/modules/inc/mod_shared.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/display/modules/inc/mod_shared.h b/drivers/gpu/drm/amd/display/modules/inc/mod_shared.h
index fe2117904329..198c0e64d13a 100644
--- a/drivers/gpu/drm/amd/display/modules/inc/mod_shared.h
+++ b/drivers/gpu/drm/amd/display/modules/inc/mod_shared.h
@@ -40,8 +40,9 @@ enum color_transfer_func {
enum vrr_packet_type {
PACKET_TYPE_VRR,
- PACKET_TYPE_FS1,
- PACKET_TYPE_FS2,
+ PACKET_TYPE_FS_V1,
+ PACKET_TYPE_FS_V2,
+ PACKET_TYPE_FS_V3,
PACKET_TYPE_VTEM
};