diff options
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c b/drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c index 775204315888..5df6ea9e87e0 100644 --- a/drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c +++ b/drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c | |||
| @@ -1088,7 +1088,8 @@ static int vcn_v1_0_start_dpg_mode(struct amdgpu_device *adev) | |||
| 1088 | WREG32_P(SOC15_REG_OFFSET(UVD, 0, mmUVD_RBC_RB_CNTL), 0, | 1088 | WREG32_P(SOC15_REG_OFFSET(UVD, 0, mmUVD_RBC_RB_CNTL), 0, |
| 1089 | ~UVD_RBC_RB_CNTL__RB_NO_FETCH_MASK); | 1089 | ~UVD_RBC_RB_CNTL__RB_NO_FETCH_MASK); |
| 1090 | 1090 | ||
| 1091 | /* initialize wptr */ | 1091 | /* initialize JPEG wptr */ |
| 1092 | ring = &adev->vcn.ring_jpeg; | ||
| 1092 | ring->wptr = RREG32_SOC15(UVD, 0, mmUVD_JRBC_RB_WPTR); | 1093 | ring->wptr = RREG32_SOC15(UVD, 0, mmUVD_JRBC_RB_WPTR); |
| 1093 | 1094 | ||
| 1094 | /* copy patch commands to the jpeg ring */ | 1095 | /* copy patch commands to the jpeg ring */ |
