aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2015-10-08 11:31:58 -0400
committerAlex Deucher <alexander.deucher@amd.com>2015-10-14 16:16:34 -0400
commit72b400675a900e80a75cad57db6aa726c68ffb3f (patch)
tree9b6329372647692a43347ec4adcc344120558f64 /tools/perf/scripts/python
parentdrm/amdgpu/dce8: Move hotspot handling out of set_cursor (diff)
downloadwireguard-linux-72b400675a900e80a75cad57db6aa726c68ffb3f.tar.xz
wireguard-linux-72b400675a900e80a75cad57db6aa726c68ffb3f.zip
drm/amdgpu/dce8: Clean up reference counting and pinning of the cursor BOs
Take a GEM reference for and pin the new cursor BO, unpin and drop the GEM reference for the old cursor BO in dce8 crtc_cursor_set2, and use amdgpu_crtc->cursor_addr in dce8 set_cursor. This fixes dce8 cursor_reset accidentally incrementing the cursor BO pin count, and cleans up the code a little. Port of radeon commit: cd404af0c930104462aa91344f07d002cf8248ed Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions