Skip to content
Snippets Groups Projects
Commit 2c01befe authored by Alex Deucher's avatar Alex Deucher
Browse files

drm/amdgpu/vcn: fix idle work handler for VCN 2.5


VCN 2.5 uses the PG callback to enable VCN DPM which is
a global state.  As such, we need to make sure all instances
are in the same state.

v2: switch to a ref count (Lijo)
v3: switch to its own idle work handler
v4: fix logic in DPG handling

Fixes: 4ce4fe27 ("drm/amdgpu/vcn: use per instance callbacks for idle work handler")
Reviewed-by: default avatarBoyuan Zhang <Boyuan.Zhang@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 3855f1d9
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment