aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2018-06-14 21:32:23 -0400
committerDave Airlie <airlied@redhat.com>2018-06-14 21:32:29 -0400
commitdaf0678c2036c918f01e4aa6035629d2debc2f30 (patch)
tree8a6ddd16c351bdf69487e5ca396333447796da8c /drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c
parent33ce21d6a2491ef9adb8dc395e3f5bbbfcdc95b5 (diff)
parent5c16f36f6f003b4415237acca59384a074cd8030 (diff)
Merge branch 'drm-next-4.18' of git://people.freedesktop.org/~agd5f/linux into drm-next
Fixes for 4.18. Highlights: - Fixes for gfxoff on Raven - Remove an ATPX quirk now that the root cause is fixed - Runtime PM fixes - Vega20 register header update - Wattman fixes - Misc bug fixes Signed-off-by: Dave Airlie <airlied@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180614141428.2909-1-alexander.deucher@amd.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c b/drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c
index 110b294ebed3..29684c3ea4ef 100644
--- 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)
769 return 0; 769 return 0;
770} 770}
771 771
772bool vcn_v1_0_is_idle(void *handle) 772static bool vcn_v1_0_is_idle(void *handle)
773{ 773{
774 struct amdgpu_device *adev = (struct amdgpu_device *)handle; 774 struct amdgpu_device *adev = (struct amdgpu_device *)handle;
775 775
776 return (RREG32_SOC15(VCN, 0, mmUVD_STATUS) == 0x2); 776 return (RREG32_SOC15(VCN, 0, mmUVD_STATUS) == 0x2);
777} 777}
778 778
779int vcn_v1_0_wait_for_idle(void *handle) 779static int vcn_v1_0_wait_for_idle(void *handle)
780{ 780{
781 struct amdgpu_device *adev = (struct amdgpu_device *)handle; 781 struct amdgpu_device *adev = (struct amdgpu_device *)handle;
782 int ret = 0; 782 int ret = 0;