summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dmub/inc
diff options
context:
space:
mode:
authorDennis Chan <dennis.chan@amd.com>2023-10-31 10:09:02 +0800
committerAlex Deucher <alexander.deucher@amd.com>2023-11-29 16:49:00 -0500
commit5f2a404cbccec0c8d6635f0997cea2ac226d25d4 (patch)
tree055f0ca5f4a6079e7237ea2c5434a3f495403a4b /drivers/gpu/drm/amd/display/dmub/inc
parent83a79dd6f4fb54c8cfe3ecbd378817047687a9b2 (diff)
downloadlinux-5f2a404cbccec0c8d6635f0997cea2ac226d25d4.tar.gz
linux-5f2a404cbccec0c8d6635f0997cea2ac226d25d4.tar.bz2
linux-5f2a404cbccec0c8d6635f0997cea2ac226d25d4.zip
drm/amd/display: Disable Timing sync check in Full-Screen Video Case
[why] If Panel max link off frame count is low, it will cause low residency for Replay, then Disabled timing sync check in Full screen Video Case. Reviewed-by: Robin Chen <robin.chen@amd.com> Acked-by: Hamza Mahfooz <hamza.mahfooz@amd.com> Signed-off-by: Dennis Chan <dennis.chan@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dmub/inc')
-rw-r--r--drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h b/drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h
index d1becbb5aa29..a08073fc92ae 100644
--- a/drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h
+++ b/drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h
@@ -3056,15 +3056,14 @@ struct dmub_cmd_replay_set_timing_sync_data {
* Currently the support is only for 0 or 1
*/
uint8_t panel_inst;
-
/**
- * Explicit padding to 4 byte boundary.
+ * REPLAY set_timing_sync
*/
- uint8_t pad[3];
+ uint8_t timing_sync_supported;
/**
- * REPLAY set_timing_sync
+ * Explicit padding to 4 byte boundary.
*/
- bool timing_sync_supported;
+ uint8_t pad[2];
};
/**