diff options
| author | Wayne Lin <[email protected]> | 2021-04-28 18:04:44 +0800 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-05-19 22:39:28 -0400 |
| commit | bbc49fc0326be4f1518fa9d81e527ebf989e6d4e (patch) | |
| tree | 489292d3190e2e36c7148012957bd593d604b416 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 67c268a50a119ed92f1d0b742a8df6a559fbc93b (diff) | |
drm/amd/display: Avoid get/put vblank when stream disabled
[Why]
amdgpu_dm_crtc_set_crc_source() will call
amdgpu_dm_crtc_configure_crc_source() to enable/disable CRC
generation. However, configuration will be deferred to stream enabled.
If stream is not enabled, current flow will still try to get/put vblank
refcount.
[How]
Return EINVAL to skip actions on vblank refcount when stream is not
enabled.
Signed-off-by: Wayne Lin <[email protected]>
Reviewed-by: Chao-kai Wang <[email protected]>
Acked-by: Stylon Wang <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions