[PATCH] drm/amdkfd: fix MQD init for GFX11 in init_mqd
Alex Deucher
alexdeucher at gmail.com
Wed Sep 21 18:49:21 UTC 2022
On Wed, Sep 21, 2022 at 2:47 PM Graham Sider <Graham.Sider at amd.com> wrote:
>
> Set remaining compute_static_thread_mgmt_se* accordingly.
>
> Signed-off-by: Graham Sider <Graham.Sider at amd.com>
Acked-by: Alex Deucher <alexander.deucher at amd.com>
> ---
> drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v11.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v11.c b/drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v11.c
> index d982c154537e..26b53b6d673e 100644
> --- a/drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v11.c
> +++ b/drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v11.c
> @@ -126,6 +126,10 @@ static void init_mqd(struct mqd_manager *mm, void **mqd,
> m->compute_static_thread_mgmt_se1 = 0xFFFFFFFF;
> m->compute_static_thread_mgmt_se2 = 0xFFFFFFFF;
> m->compute_static_thread_mgmt_se3 = 0xFFFFFFFF;
> + m->compute_static_thread_mgmt_se4 = 0xFFFFFFFF;
> + m->compute_static_thread_mgmt_se5 = 0xFFFFFFFF;
> + m->compute_static_thread_mgmt_se6 = 0xFFFFFFFF;
> + m->compute_static_thread_mgmt_se7 = 0xFFFFFFFF;
>
> m->cp_hqd_persistent_state = CP_HQD_PERSISTENT_STATE__PRELOAD_REQ_MASK |
> 0x55 << CP_HQD_PERSISTENT_STATE__PRELOAD_SIZE__SHIFT;
> --
> 2.25.1
>
More information about the amd-gfx
mailing list