[PATCH v3] drm/amdgpu/pm: Use macro definitions in the smu IH process function

2024-01-25 Thread Ma Jun
Replace the hard-coded numbers with macro definition Signed-off-by: Ma Jun --- v3: - Add new SMU_IH_INTERRUPT_* macros for smu, keeping the original macro definitions in sync with pmfw (kevin) --- drivers/gpu/drm/amd/pm/swsmu/smu11/smu_v11_0.c | 10 +- drivers/gpu/drm/amd/pm/swsmu/smu13/

RE: [PATCH v3] drm/amdgpu/pm: Use macro definitions in the smu IH process function

2024-01-25 Thread Wang, Yang(Kevin)
: [PATCH v3] drm/amdgpu/pm: Use macro definitions in the smu IH process function Replace the hard-coded numbers with macro definition Signed-off-by: Ma Jun --- v3: - Add new SMU_IH_INTERRUPT_* macros for smu, keeping the original macro definitions in sync with pmfw (kevin) --- drivers/gpu/drm/amd/pm

Re: [PATCH v3] drm/amdgpu/pm: Use macro definitions in the smu IH process function

2024-01-25 Thread Lazar, Lijo
On 1/25/2024 2:20 PM, Ma Jun wrote: > Replace the hard-coded numbers with macro definition > > Signed-off-by: Ma Jun Reviewed-by: Lijo Lazar Thanks, Lijo > --- > v3: > - Add new SMU_IH_INTERRUPT_* macros for smu, keeping the original > macro definitions in sync with pmfw (kevin) > --- > d