diff options
| author | Sunil Khatri <[email protected]> | 2024-09-30 09:38:44 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-10-01 21:45:51 +0000 |
| commit | e15ec812b52951e9816ae2d47361fe6b82a8ba3b (patch) | |
| tree | 53f8ca06dbed3037cb71d3b5479652b5679e978e /drivers/gpu/drm/amd/amdgpu/vce_v3_0.c | |
| parent | drm/amdgpu: update the handle ptr in soft_reset (diff) | |
| download | kernel-e15ec812b52951e9816ae2d47361fe6b82a8ba3b.tar.gz kernel-e15ec812b52951e9816ae2d47361fe6b82a8ba3b.zip | |
drm/amdgpu: update the handle ptr in post_soft_reset
Update the *handle to amdgpu_ip_block ptr for all
functions pointers of post_soft_reset.
Signed-off-by: Sunil Khatri <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/vce_v3_0.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/vce_v3_0.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/vce_v3_0.c b/drivers/gpu/drm/amd/amdgpu/vce_v3_0.c index 34d7c2e4da8e..92ffd3fa5b00 100644 --- a/drivers/gpu/drm/amd/amdgpu/vce_v3_0.c +++ b/drivers/gpu/drm/amd/amdgpu/vce_v3_0.c @@ -712,9 +712,9 @@ static int vce_v3_0_pre_soft_reset(struct amdgpu_ip_block *ip_block) } -static int vce_v3_0_post_soft_reset(void *handle) +static int vce_v3_0_post_soft_reset(struct amdgpu_ip_block *ip_block) { - struct amdgpu_device *adev = (struct amdgpu_device *)handle; + struct amdgpu_device *adev = ip_block->adev; if (!adev->vce.srbm_soft_reset) return 0; |
