diff options
author | Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com> | 2020-07-30 17:03:49 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-01-05 11:34:51 -0500 |
commit | 71338cb4a7c2b519227e9d103fbb6e42eebcb705 (patch) | |
tree | 1d51ed459354b45b318dabdbae2b807823dbddca /tools/perf/scripts/python/export-to-postgresql.py | |
parent | e74c8a461139b41075ede68f40c313a268445284 (diff) |
drm/amd/display: enable idle optimizations for linux (MALL stutter)
[Why]
We can only use this feature when the display is idle. When active vblank
irq count is 0 we know all the displays are idle.
[How]
-Add a active vblank irq counter
-Update the counter when we enable/disable vblank irq
-if vblank irq count is 0 we can consider mall stutter
Signed-off-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Nick Kazlauskas <Nicholas.Kazlauskas@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions