mbox series

[0/2,SRU,Noble] Fix power consumption while using HW accelerated video decode on AMD platforms

Message ID 20240806032332.2709402-1-vicamo.yang@canonical.com
Headers show
Series Fix power consumption while using HW accelerated video decode on AMD platforms | expand

Message

You-Sheng Yang Aug. 6, 2024, 3:23 a.m. UTC
BugLink: https://bugs.launchpad.net/bugs/2073282

[Impact]

Power consumption measurements are worse than Windows while using HW
accelerated video decoding.

[Fix]

Two commits from upstream v6.11-rc1 to add a unified queue to VCN for
more power saving.

[Test Case]

This involves attaching probes on mainboard and can only be performed by
AMD/ODM.

[Where problems could occur]

No.

[Other Info]

To apply to all kernels >= 6.8. Orauclar/Noble, OEM-6.8, OEM-6.11 are
nominated for fix.

Boyuan Zhang (2):
  drm/amdgpu/vcn: identify unified queue in sw init
  drm/amdgpu/vcn: not pause dpg for unified queue

 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 53 ++++++++++++-------------
 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h |  1 +
 2 files changed, 27 insertions(+), 27 deletions(-)

Comments

Manuel Diewald Aug. 6, 2024, 10:39 a.m. UTC | #1
On Tue, Aug 06, 2024 at 11:23:30AM +0800, You-Sheng Yang wrote:
> BugLink: https://bugs.launchpad.net/bugs/2073282
> 
> [Impact]
> 
> Power consumption measurements are worse than Windows while using HW
> accelerated video decoding.
> 
> [Fix]
> 
> Two commits from upstream v6.11-rc1 to add a unified queue to VCN for
> more power saving.
> 
> [Test Case]
> 
> This involves attaching probes on mainboard and can only be performed by
> AMD/ODM.
> 
> [Where problems could occur]
> 
> No.
> 
> [Other Info]
> 
> To apply to all kernels >= 6.8. Orauclar/Noble, OEM-6.8, OEM-6.11 are
> nominated for fix.
> 
> Boyuan Zhang (2):
>   drm/amdgpu/vcn: identify unified queue in sw init
>   drm/amdgpu/vcn: not pause dpg for unified queue
> 
>  drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 53 ++++++++++++-------------
>  drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h |  1 +
>  2 files changed, 27 insertions(+), 27 deletions(-)
> 
> -- 
> 2.45.2
> 
> 
> -- 
> kernel-team mailing list
> kernel-team@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team

Acked-by: Manuel Diewald <manuel.diewald@canonical.com>
Aaron Jauregui Aug. 8, 2024, 12:19 a.m. UTC | #2
On Tue, Aug 06, 2024 at 11:23:30AM +0800, You-Sheng Yang wrote:
> BugLink: https://bugs.launchpad.net/bugs/2073282
> 
> [Impact]
> 
> Power consumption measurements are worse than Windows while using HW
> accelerated video decoding.
> 
> [Fix]
> 
> Two commits from upstream v6.11-rc1 to add a unified queue to VCN for
> more power saving.
> 
> [Test Case]
> 
> This involves attaching probes on mainboard and can only be performed by
> AMD/ODM.
> 
> [Where problems could occur]
> 
> No.
> 
> [Other Info]
> 
> To apply to all kernels >= 6.8. Orauclar/Noble, OEM-6.8, OEM-6.11 are
> nominated for fix.
> 
> Boyuan Zhang (2):
>   drm/amdgpu/vcn: identify unified queue in sw init
>   drm/amdgpu/vcn: not pause dpg for unified queue
> 
>  drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 53 ++++++++++++-------------
>  drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h |  1 +
>  2 files changed, 27 insertions(+), 27 deletions(-)

Acked-by: Aaron Jauregui <aaron.jauregui@canonical.com>
Roxana Nicolescu Aug. 9, 2024, 3:34 p.m. UTC | #3
On 06/08/2024 05:23, You-Sheng Yang wrote:
> BugLink: https://bugs.launchpad.net/bugs/2073282
>
> [Impact]
>
> Power consumption measurements are worse than Windows while using HW
> accelerated video decoding.
>
> [Fix]
>
> Two commits from upstream v6.11-rc1 to add a unified queue to VCN for
> more power saving.
>
> [Test Case]
>
> This involves attaching probes on mainboard and can only be performed by
> AMD/ODM.
>
> [Where problems could occur]
>
> No.
>
> [Other Info]
>
> To apply to all kernels >= 6.8. Orauclar/Noble, OEM-6.8, OEM-6.11 are
> nominated for fix.
>
> Boyuan Zhang (2):
>    drm/amdgpu/vcn: identify unified queue in sw init
>    drm/amdgpu/vcn: not pause dpg for unified queue
>
>   drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 53 ++++++++++++-------------
>   drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h |  1 +
>   2 files changed, 27 insertions(+), 27 deletions(-)
>
Applied to noble:linux master-next branch. Thanks!