diff options
author | Marek Olšák <marek.olsak@amd.com> | 2022-12-24 17:44:26 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-01-19 17:24:26 -0500 |
commit | e3e84b0a03a303421704bd3f305ca91a5226dc7d (patch) | |
tree | 5e4de0a9f104eb79d3a1b6f7101e2afa14c7dc93 /drivers/gpu/drm/amd/amdgpu/mxgpu_nv.c | |
parent | 26fd808b01e730fd45673619817a3feafb1230d7 (diff) |
drm/amdgpu: return the PCIe gen and lanes from the INFO ioctl
For computing PCIe bandwidth in userspace and troubleshooting PCIe
bandwidth issues. Note that this intentionally fills holes and padding
in drm_amdgpu_info_device.
Mesa MR: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20790
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/mxgpu_nv.c')
0 files changed, 0 insertions, 0 deletions