Commit adea72c5 authored by kbuild test robot's avatar kbuild test robot Committed by Alex Deucher

drm/amdgpu: vcn_v1_0_is_idle() can be static

Fixes: 9b4c412a654c ("drm/amdgpu: Add static CG control for VCN on RV")
Signed-off-by: default avatarkbuild test robot <fengguang.wu@intel.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent bfdec234
...@@ -769,14 +769,14 @@ static int vcn_v1_0_stop(struct amdgpu_device *adev) ...@@ -769,14 +769,14 @@ static int vcn_v1_0_stop(struct amdgpu_device *adev)
return 0; return 0;
} }
bool vcn_v1_0_is_idle(void *handle) static bool vcn_v1_0_is_idle(void *handle)
{ {
struct amdgpu_device *adev = (struct amdgpu_device *)handle; struct amdgpu_device *adev = (struct amdgpu_device *)handle;
return (RREG32_SOC15(VCN, 0, mmUVD_STATUS) == 0x2); return (RREG32_SOC15(VCN, 0, mmUVD_STATUS) == 0x2);
} }
int vcn_v1_0_wait_for_idle(void *handle) static int vcn_v1_0_wait_for_idle(void *handle)
{ {
struct amdgpu_device *adev = (struct amdgpu_device *)handle; struct amdgpu_device *adev = (struct amdgpu_device *)handle;
int ret = 0; int ret = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment