projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfdec23
)
drm/amdgpu: vcn_v1_0_is_idle() can be static
author
kbuild test robot
<
[email protected]
>
Thu, 24 May 2018 18:54:45 +0000
(
02:54
+0800)
committer
Alex Deucher
<
[email protected]
>
Fri, 25 May 2018 16:02:04 +0000
(11:02 -0500)
Fixes: 9b4c412a654c ("drm/amdgpu: Add static CG control for VCN on RV")
Signed-off-by: kbuild test robot <
[email protected]
>
Signed-off-by: Alex Deucher <
[email protected]
>
drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c
b/drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c
index 110b294ebed3e554a9bc44d75a9a30ebcd51e61a..29684c3ea4ef2b6d1586721f0b095dfd961eb989 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c
+++ b/
drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c
@@
-769,14
+769,14
@@
static int vcn_v1_0_stop(struct amdgpu_device *adev)
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;
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;
int ret = 0;