From: jsg Date: Mon, 5 Aug 2024 02:26:35 +0000 (+0000) Subject: drm/amdkfd: Fix CU Masking for GFX 9.4.3 X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=5e55c4ed4d6f24b5a2f1857c8d39e8180a673d8b;p=openbsd drm/amdkfd: Fix CU Masking for GFX 9.4.3 From Mukul Joshi cd1885ae4cbf191332ae66f8a214e52fb226ba43 in linux-6.6.y/6.6.44 85cf43c554e438e2e12b0fe109688c9533e4d93f in mainline linux --- diff --git a/sys/dev/pci/drm/amd/amdkfd/kfd_mqd_manager_v9.c b/sys/dev/pci/drm/amd/amdkfd/kfd_mqd_manager_v9.c index 42d881809dc..1ac66c5337d 100644 --- a/sys/dev/pci/drm/amd/amdkfd/kfd_mqd_manager_v9.c +++ b/sys/dev/pci/drm/amd/amdkfd/kfd_mqd_manager_v9.c @@ -686,7 +686,7 @@ static void update_mqd_v9_4_3(struct mqd_manager *mm, void *mqd, m = get_mqd(mqd + size * xcc); update_mqd(mm, m, q, minfo); - update_cu_mask(mm, mqd, minfo, xcc); + update_cu_mask(mm, m, minfo, xcc); if (q->format == KFD_QUEUE_FORMAT_AQL) { switch (xcc) {