mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-06 05:13:18 +00:00
drm/amdgpu: Fix implicit assumtion in gfx11 debug flags
Gfx11 debug flags mask is currently set with an implicit assumption that no other mqd update flags exist. This needs to be fixed with newly introduced flag UPDATE_FLAG_IS_GWS by the previous patch. Reviewed-by: Felix Kuehling <felix.kuehling@amd.com> Signed-off-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
e3de58f8fd
commit
a8ac4bcaeb
@ -55,8 +55,8 @@ static void update_cu_mask(struct mqd_manager *mm, void *mqd,
|
||||
m = get_mqd(mqd);
|
||||
|
||||
if (has_wa_flag) {
|
||||
uint32_t wa_mask = minfo->update_flag == UPDATE_FLAG_DBG_WA_ENABLE ?
|
||||
0xffff : 0xffffffff;
|
||||
uint32_t wa_mask =
|
||||
(minfo->update_flag & UPDATE_FLAG_DBG_WA_ENABLE) ? 0xffff : 0xffffffff;
|
||||
|
||||
m->compute_static_thread_mgmt_se0 = wa_mask;
|
||||
m->compute_static_thread_mgmt_se1 = wa_mask;
|
||||
|
Loading…
Reference in New Issue
Block a user