summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorPaul Wu <paul.wu@amd.com>2021-04-16 08:33:26 +0300
committerAlex Deucher <alexander.deucher@amd.com>2021-05-11 01:06:44 +0300
commit5728d5e58dbe3aa7725873e2a29265b57cfaaa3f (patch)
treeefd4c3001437965a6546f64480f1c3ab81590edf /tools/perf/scripts/python/export-to-sqlite.py
parent05e62b6b6433e1159018eb5862e906a3db24dfcd (diff)
downloadlinux-5728d5e58dbe3aa7725873e2a29265b57cfaaa3f.tar.xz
drm/amd/display: Set stream_count to 0 when dc_resource_state_destruct.
[Why] When hardware need to be reset, driver need to reset stream objects but dc_resource_state_destruct function omit resetting stream_count. It will lead page fault if some logic will touch stream object. [How] Set stream_count to 0 when dc_resource_state_destruct. Signed-off-by: Paul Wu <paul.wu@amd.com> Reviewed-by: Aric Cyr <Aric.Cyr@amd.com> Acked-by: Wayne Lin <Wayne.Lin@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions