mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 00:53:34 +02:00
drm/amdgpu/vcn: add new per instance callback for powergating
This is per instance so add a new function pointer for it. Reviewed-by: Boyuan Zhang <Boyuan.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
64303b72de
commit
55945f08d9
|
|
@ -329,6 +329,8 @@ struct amdgpu_vcn_inst {
|
|||
struct mutex vcn1_jpeg1_workaround;
|
||||
int (*pause_dpg_mode)(struct amdgpu_vcn_inst *vinst,
|
||||
struct dpg_pause_state *new_state);
|
||||
int (*set_pg_state)(struct amdgpu_vcn_inst *vinst,
|
||||
enum amd_powergating_state state);
|
||||
bool using_unified_queue;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user