mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 20:08:06 +02:00
radeonsi: fix regression on gpus using the radeon winsys.
For GPUs using the radeon kernel driver, num_se was never getting initialised. Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3939 Fixes:f2977a162a("ac: fix min/max_good_num_cu_per_sa on gfx10.3 with disabled SEs") Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7954> (cherry picked from commit7c075bae56)
This commit is contained in:
parent
dfadf838ae
commit
44bed80506
2 changed files with 3 additions and 1 deletions
|
|
@ -175,7 +175,7 @@
|
|||
"description": "radeonsi: fix regression on gpus using the radeon winsys.",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"master_sha": null,
|
||||
"because_sha": "f2977a162af46ff0b9d9334bb677b768900ba5d3"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -530,6 +530,8 @@ static bool do_winsys_init(struct radeon_drm_winsys *ws)
|
|||
}
|
||||
}
|
||||
|
||||
ws->info.num_se = ws->info.max_se;
|
||||
|
||||
radeon_get_drm_value(ws->fd, RADEON_INFO_MAX_SH_PER_SE, NULL,
|
||||
&ws->info.max_sh_per_se);
|
||||
if (ws->gen == DRV_SI) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue