mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
gpu: nvgpu: Store VBIOS version in g->bios
Store VBIOS version in g->bios instead of GPU characteristics. This removes a few Linux dependencies from common code, because GPU characteristics is defined in Linux IOCTL header. JIRA NVGPU-259 Change-Id: I9aab3d37b7ca000edd59c92b8601a96ee288e2bb Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1593684 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
ac5d3fcf04
commit
a51219e526
@@ -208,6 +208,9 @@ gk20a_ctrl_ioctl_gpu_characteristics(
|
||||
pgpu->impl = g->params.gpu_impl;
|
||||
pgpu->rev = g->params.gpu_rev;
|
||||
|
||||
pgpu->vbios_version = g->bios.vbios_version;
|
||||
pgpu->vbios_oem_version = g->bios.vbios_oem_version;
|
||||
|
||||
if (request->gpu_characteristics_buf_size > 0) {
|
||||
size_t write_size = sizeof(*pgpu);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user