drm/amdgpu: add more fields into device info, caches sizes, etc.
authorMarek Olšák <marek.olsak@amd.com>
Mon, 30 Jan 2023 04:00:59 +0000 (23:00 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 23 Feb 2023 22:35:58 +0000 (17:35 -0500)
commitb299221faf9b62166413526be2438d21257f019e
tree82ad7566f5edbef3961d7d6177a6035ae75d6e3d
parent4fc8fff378b2f2039f2a666d9f8c570f4e58352c
drm/amdgpu: add more fields into device info, caches sizes, etc.

AMDGPU_IDS_FLAGS_CONFORMANT_TRUNC_COORD: important for conformance on gfx11
Other fields are exposed from IP discovery.
enabled_rb_pipes_mask_hi is added for future chips, currently 0.

Mesa MR: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21403

Signed-off-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
include/uapi/drm/amdgpu_drm.h