diff options
| author | Leo Liu <[email protected]> | 2019-05-13 16:41:54 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2019-05-24 17:20:52 +0000 |
| commit | 9dc7b02a3ccc78ca59fc20f466a166ca7e30d9e8 (patch) | |
| tree | 14576d8e64b55b9532f64795752ac38a9b8087fe /drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h | |
| parent | drm/amdgpu: move the VCN DPG mode read and write to VCN (diff) | |
| download | kernel-9dc7b02a3ccc78ca59fc20f466a166ca7e30d9e8.tar.gz kernel-9dc7b02a3ccc78ca59fc20f466a166ca7e30d9e8.zip | |
drm/amdgpu: make VCN DPG pause mode detached from general VCN
It should be attached to VCN 1.0
Signed-off-by: Leo Liu <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h index 98bd0982d325..a1ee19251aae 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h @@ -102,6 +102,8 @@ struct amdgpu_vcn { unsigned num_enc_rings; enum amd_powergating_state cur_state; struct dpg_pause_state pause_state; + int (*pause_dpg_mode)(struct amdgpu_device *adev, + struct dpg_pause_state *new_state); }; int amdgpu_vcn_sw_init(struct amdgpu_device *adev); |
