RE: [PATCH 1/3] drm/amd/pm: Add APIs for device access checks

2025-02-05 Thread Kamal, Asad
cher, Alexander ; Pelloux-Prayer, Pierre-Eric ; Feng, Kenneth ; Limonciello, Mario Subject: [PATCH 1/3] drm/amd/pm: Add APIs for device access checks Wrap the checks before device access in helper functions and use them for device access. The generic order of APIs now is to do input argument valida

Re: [PATCH 1/3] drm/amd/pm: Add APIs for device access checks

2025-02-04 Thread Xu, Feifei
Series is Reviewed-by: Feifei Xu On 2/4/2025 2:38 PM, Lijo Lazar wrote: Wrap the checks before device access in helper functions and use them for device access. The generic order of APIs now is to do input argument validation first and check if device access is allowed. Signed-off-by: Lijo Laz

Re: [PATCH 1/3] drm/amd/pm: Add APIs for device access checks

2025-02-04 Thread Lazar, Lijo
On 2/4/2025 12:08 PM, Lijo Lazar wrote: > Wrap the checks before device access in helper functions and use them > for device access. The generic order of APIs now is to do input argument > validation first and check if device access is allowed. > > Signed-off-by: Lijo Lazar > --- > drivers/gpu

[PATCH 1/3] drm/amd/pm: Add APIs for device access checks

2025-02-03 Thread Lijo Lazar
Wrap the checks before device access in helper functions and use them for device access. The generic order of APIs now is to do input argument validation first and check if device access is allowed. Signed-off-by: Lijo Lazar --- drivers/gpu/drm/amd/pm/amdgpu_pm.c | 616 +++---