ac/gpu_info: Add has_pcie_bandwidth_info.
authorTimur Kristóf <timur.kristof@gmail.com>
Mon, 23 Jan 2023 16:11:36 +0000 (17:11 +0100)
committerMarge Bot <emma+marge@anholt.net>
Thu, 2 Feb 2023 02:13:10 +0000 (02:13 +0000)
commitef668f3714112e665a42b63dc971b0fe266547d1
tree80d064274cd8ab61f0660a4db73a7781986ffb28
parentd7730fcf22adae92b0e7a82e36cfe28200920b5f
ac/gpu_info: Add has_pcie_bandwidth_info.

This is so that we can tell whether the current kernel
has the PCIe bandwidth info available or not.

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20842>
src/amd/common/ac_gpu_info.c
src/amd/common/ac_gpu_info.h