Re: [PATCH 3/3] drm/amdgpu/gfx9: Refactor cleaner shader initialization for GFX9.4.3

2024-09-04 Thread Lazar, Lijo
On 9/4/2024 6:57 PM, Srinivasan Shanmugam wrote: > This commit modifies the initialization only if the cleaner shader > object has been allocated. This is done by adding checks for > adev->gfx.cleaner_shader_obj before calling > amdgpu_gfx_cleaner_shader_init > > The changes are made in the gfx

Re: [PATCH 3/3] drm/amdgpu/gfx9: Refactor cleaner shader initialization for GFX9.4.3

2024-09-04 Thread Alex Deucher
On Wed, Sep 4, 2024 at 9:38 AM Srinivasan Shanmugam wrote: > > This commit modifies the initialization only if the cleaner shader > object has been allocated. This is done by adding checks for > adev->gfx.cleaner_shader_obj before calling > amdgpu_gfx_cleaner_shader_init > > The changes are made i

[PATCH 3/3] drm/amdgpu/gfx9: Refactor cleaner shader initialization for GFX9.4.3

2024-09-04 Thread Srinivasan Shanmugam
This commit modifies the initialization only if the cleaner shader object has been allocated. This is done by adding checks for adev->gfx.cleaner_shader_obj before calling amdgpu_gfx_cleaner_shader_init The changes are made in the gfx_v9_4_3_sw_init, gfx_v9_4_3_sw_fini, and gfx_v9_4_3_hw_init func