]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu/vcn: not pause dpg for unified queue
authorBoyuan Zhang <boyuan.zhang@amd.com>
Wed, 10 Jul 2024 20:17:12 +0000 (16:17 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 16 Jul 2024 15:44:04 +0000 (11:44 -0400)
commit7d75ef3736a025db441be652c8cc8e84044a215f
tree13e9f8cf32c130b1ef97343e29e7a7cc6e76417c
parentecfa23c8df7ef3ea2a429dfe039341bf792e95b4
drm/amdgpu/vcn: not pause dpg for unified queue

For unified queue, DPG pause for encoding is done inside VCN firmware,
so there is no need to pause dpg based on ring type in kernel.

For VCN3 and below, pausing DPG for encoding in kernel is still needed.

v2: add more comments
v3: update commit message

Signed-off-by: Boyuan Zhang <boyuan.zhang@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Ruijing Dong <ruijing.dong@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c