diff options
author | Zack Rusin <[email protected]> | 2024-07-22 14:41:14 -0400 |
---|---|---|
committer | Zack Rusin <[email protected]> | 2024-07-24 22:21:52 -0400 |
commit | 09f34a00272d2311f6e5d64ed8ad824ef78f7487 (patch) | |
tree | 35f14d24ed1d5a74c13474884465648b3476513a /tools/perf/scripts/python/export-to-sqlite.py | |
parent | e58337100721f3cc0c7424a18730e4f39844934f (diff) |
drm/vmwgfx: Make sure the screen surface is ref counted
Fix races issues in virtual crc generation by making sure the surface
the code uses for crc computation is properly ref counted.
Crc generation was trying to be too clever by allowing the surfaces
to go in and out of scope, with the hope of always having some kind
of screen present. That's not always the code, in particular during
atomic disable, so to make sure the surface, when present, is not
being actively destroyed at the same time, hold a reference to it.
Signed-off-by: Zack Rusin <[email protected]>
Fixes: 7b0062036c3b ("drm/vmwgfx: Implement virtual crc generation")
Cc: Zack Rusin <[email protected]>
Cc: Broadcom internal kernel review list <[email protected]>
Cc: [email protected]
Reviewed-by: Maaz Mombasawala <[email protected]>
Reviewed-by: Martin Krastev <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions