2023-09-11 21:48:16

by André Almeida

[permalink] [raw]
Subject: Re: [PATCH v4 0/2] Merge all debug module parameters



Em 11/09/2023 14:21, Hamza Mahfooz escreveu:
> On 9/11/23 13:12, André Almeida wrote:
>> As suggested by Christian at [0], this patchset merges all debug modules
>> parameters and creates a new one for disabling soft recovery:
>>
>>> Maybe we can overload the amdgpu_gpu_recovery module option with this.
>>> Or even better merge all the developer module parameter into a
>>> amdgpu_debug option. This way it should be pretty obvious that this
>>> isn't meant to be used by someone who doesn't know how to use it.
>>
>> [0]
>> https://lore.kernel.org/dri-devel/[email protected]/
>
> I have applied the series, thanks!
>

Thank you!

>>
>> Changelog:
>> - rebased on top of current amd-staging-drm-next
>> v3:
>> https://lore.kernel.org/lkml/[email protected]
>>
>> - move enum from include/amd_shared.h to amdgpu/amdgpu_drv.c
>> v2:
>> https://lore.kernel.org/lkml/[email protected]/
>>
>> - drop old module params
>> - use BIT() macros
>> - replace global var with adev-> vars
>> v1:
>> https://lore.kernel.org/lkml/[email protected]/
>>
>> André Almeida (2):
>>    drm/amdgpu: Merge debug module parameters
>>    drm/amdgpu: Create an option to disable soft recovery
>>
>>   drivers/gpu/drm/amd/amdgpu/amdgpu.h      |  5 ++
>>   drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c   |  2 +-
>>   drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c  | 63 ++++++++++++++++--------
>>   drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c  |  2 +-
>>   drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c |  7 ++-
>>   drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c   |  2 +-
>>   drivers/gpu/drm/amd/amdkfd/kfd_chardev.c |  2 +-
>>   drivers/gpu/drm/amd/amdkfd/kfd_crat.c    |  2 +-
>>   8 files changed, 59 insertions(+), 26 deletions(-)
>>