summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu
diff options
context:
space:
mode:
authorBhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>2021-04-29 16:32:47 -0400
committerAlex Deucher <alexander.deucher@amd.com>2021-05-19 22:39:19 -0400
commit3bb68cec4db82ac9134181557c70c9eeb55ef403 (patch)
tree5b828f8e8d99fe41b7c89d57b5b7be6a483d1a5b /drivers/gpu/drm/amd/amdgpu
parentd98af2725d42e85efb04a6939939eab31f562e45 (diff)
drm/amd/display: Add Overflow check to skip MALL
[Why] In some small modes (<200pixels) the stutter period is really big and will cause overflow. In these cases we shouldnt try to enable MALL as it will exceeds range of hysteresis timer (this can be seen in some IGT tests where the plane size is small) [How] Compare the stutter_period with the frame time and if we will overflow there is no point in trying to enable MALL (and see the ASSERT) so we early exist in this case Signed-off-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com> Reviewed-by: Jun Lei <Jun.Lei@amd.com> Acked-by: Stylon Wang <stylon.wang@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
0 files changed, 0 insertions, 0 deletions