From a51219e526cca5fdee33faf25268662bdd9453cb Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Tue, 7 Nov 2017 09:40:15 -0800 Subject: 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 Reviewed-on: https://git-master.nvidia.com/r/1593684 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gk20a/gk20a.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h') diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index 365c7252..96333277 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h @@ -1035,6 +1035,9 @@ struct nvgpu_bios_ucode { }; struct nvgpu_bios { + u32 vbios_version; + u8 vbios_oem_version; + u8 *data; size_t size; -- cgit v1.2.2