RE: [PATCH] drm/amdgpu/vpe: fix vpe dpm clk ratio setup failed

2024-04-30 Thread Yu, Lang
[Public] Reviewed-by: Lang Yu >-Original Message- >From: Lee, Peyton >Sent: Monday, April 29, 2024 2:53 PM >To: amd-gfx@lists.freedesktop.org >Cc: Deucher, Alexander ; Yu, Lang >; Liu, HaoPing (Alan) ; Lee, Peyton > >Subject: [PATCH] drm/amdgpu/vpe: fix vpe dp

Re: [PATCH] drm/amdgpu/vpe: fix vpe dpm clk ratio setup failed

2024-04-29 Thread Alex Deucher
On Mon, Apr 29, 2024 at 3:07 AM Peyton Lee wrote: > > Some version of BIOS does not enable all clock levels, > resulting in high level clock frequency of 0. > The number of valid CLKs must be confirmed in advance. > > Signed-off-by: Peyton Lee Acked-by: Alex Deucher > --- > drivers/gpu/drm/am

[PATCH] drm/amdgpu/vpe: fix vpe dpm clk ratio setup failed

2024-04-28 Thread Peyton Lee
Some version of BIOS does not enable all clock levels, resulting in high level clock frequency of 0. The number of valid CLKs must be confirmed in advance. Signed-off-by: Peyton Lee --- drivers/gpu/drm/amd/amdgpu/amdgpu_vpe.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-)