mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 18:00:10 +01:00
pvr: correctly return core count for pvrsrvkm
Fixes: 76ee1671f6 ("pvr: Add core count info and pvr_device_runtime_info.")
Signed-off-by: Frank Binns <frank.binns@imgtec.com>
Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36412>
This commit is contained in:
parent
21561f9718
commit
a09d18a316
1 changed files with 1 additions and 1 deletions
|
|
@ -242,7 +242,7 @@ VkResult pvr_srv_get_multicore_info(int fd,
|
|||
ret);
|
||||
}
|
||||
|
||||
if (!num_cores)
|
||||
if (num_cores)
|
||||
*num_cores = ret.num_cores;
|
||||
|
||||
return VK_SUCCESS;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue