OSDN Git Service

drm/amdgpu: free resources on fence usage query
authorDavid M Nieto <david.nieto@amd.com>
Thu, 13 May 2021 17:45:38 +0000 (10:45 -0700)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 13 May 2021 18:02:24 +0000 (14:02 -0400)
commita7f0849682b75b6d50f07c70090443eebd90218c
treeadf7c0e6ae8ae4bf298bf8c18acd5fa5d4efb5ca
parent0ff9bf9f3e0ce212aabea84365575466039e8c46
drm/amdgpu: free resources on fence usage query

Free the resources if the fence needs to be ignored
during the ratio calculation

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: David M Nieto <david.nieto@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210513174539.27409-1-david.nieto@amd.com
drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c