ac: Check me_fw_feature for 32bit predication on gfx10.3
Signed-off-by: Georg Lehmann <dadschoorse@gmail.com> Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11297>
This commit is contained in:
parent
4026a07e74
commit
a41ba20cbd
|
@ -907,10 +907,10 @@ bool ac_query_gpu_info(int fd, void *dev_p, struct radeon_info *info,
|
|||
info->family == CHIP_SIENNA_CICHLID;
|
||||
|
||||
/* Support for GFX10.3 was added with F32_ME_FEATURE_VERSION_31 but the
|
||||
* firmware version wasn't bumped.
|
||||
* feature version wasn't bumped.
|
||||
*/
|
||||
info->has_32bit_predication = info->chip_class >= GFX10_3 &&
|
||||
info->me_fw_version >= 32;
|
||||
info->me_fw_feature >= 32;
|
||||
|
||||
/* Get the number of good compute units. */
|
||||
info->num_good_compute_units = 0;
|
||||
|
|
Loading…
Reference in New Issue