RE: [PATCH] drm/amdgpu: move smu_debug_mask to a more proper place

2021-12-12 Thread Quan, Evan
n Behalf Of Evan > Quan > Sent: Monday, December 13, 2021 1:43 PM > To: amd-gfx@lists.freedesktop.org > Cc: Deucher, Alexander ; Quan, Evan > > Subject: [PATCH] drm/amdgpu: move smu_debug_mask to a more proper > place > > As the smu_context will be invisible

RE: [PATCH] drm/amdgpu: move smu_debug_mask to a more proper place

2021-12-12 Thread Quan, Evan
[AMD Official Use Only] > -Original Message- > From: Lazar, Lijo > Sent: Monday, December 13, 2021 2:52 PM > To: Quan, Evan ; amd-gfx@lists.freedesktop.org > Cc: Deucher, Alexander > Subject: Re: [PATCH] drm/amdgpu: move smu_debug_mask to a more > proper place >

Re: [PATCH] drm/amdgpu: move smu_debug_mask to a more proper place

2021-12-12 Thread Lazar, Lijo
On 12/13/2021 11:12 AM, Evan Quan wrote: As the smu_context will be invisible from outside(of power). Also, the smu_debug_mask can be shared around all power code instead of some specific framework(swSMU) only. Signed-off-by: Evan Quan Change-Id: I1a0e1a436a51fc520a47b3fb28cde527d4e5eb6e ---

RE: [PATCH] drm/amdgpu: move smu_debug_mask to a more proper place

2021-12-12 Thread Chen, Guchun
ve set an 'adev' variable, we can replace 'smu->adev' with 'adev' in each function directly. Regards, Guchun -Original Message- From: amd-gfx On Behalf Of Evan Quan Sent: Monday, December 13, 2021 1:43 PM To: amd-gfx@lists.freedesktop.org Cc: Deucher, Alex

[PATCH] drm/amdgpu: move smu_debug_mask to a more proper place

2021-12-12 Thread Evan Quan
As the smu_context will be invisible from outside(of power). Also, the smu_debug_mask can be shared around all power code instead of some specific framework(swSMU) only. Signed-off-by: Evan Quan Change-Id: I1a0e1a436a51fc520a47b3fb28cde527d4e5eb6e --- drivers/gpu/drm/amd/amdgpu/amdgpu.h