Re: [PATCH 1/3] drm/amdgpu: Refactor cleaner shader initialization in amdgpu

2024-09-04 Thread Alex Deucher
On Wed, Sep 4, 2024 at 9:27 AM Srinivasan Shanmugam wrote: > > This commit refactors the cleaner shader initialization process. The > changes remove unnecessary checks for adev->gfx.enable_cleaner_shader in > the amdgpu_gfx_cleaner_shader_sw_init, > amdgpu_gfx_cleaner_shader_sw_fini, and amdgpu_gf

[PATCH 1/3] drm/amdgpu: Refactor cleaner shader initialization in amdgpu

2024-09-04 Thread Srinivasan Shanmugam
This commit refactors the cleaner shader initialization process. The changes remove unnecessary checks for adev->gfx.enable_cleaner_shader in the amdgpu_gfx_cleaner_shader_sw_init, amdgpu_gfx_cleaner_shader_sw_fini, and amdgpu_gfx_cleaner_shader_init functions. These checks are now performed before