mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 02:22:34 +03:00
gpu: nvgpu: vgpu: fix crash during init
gops->gr.detect_sm_arch was not populated for vgpu. Also, populate some members of the PMU VM struct as they are used to report GPU characteristics to userspace. Bug 1576949 Change-Id: I9ddc361d1418b942da97a82b553aac81f5f51182 Signed-off-by: Aingara Paramakuru <aparamakuru@nvidia.com> Reviewed-on: http://git-master/r/601931 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Arto Merilainen <amerilainen@nvidia.com> Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
This commit is contained in:
committed by
Dan Willemsen
parent
3fc88e50b8
commit
0cc118c08c
@@ -81,7 +81,8 @@ enum {
|
||||
TEGRA_VGPU_ATTRIB_MAX_TPC_PER_GPC_COUNT,
|
||||
TEGRA_VGPU_ATTRIB_MAX_TPC_COUNT,
|
||||
TEGRA_VGPU_ATTRIB_PMC_BOOT_0,
|
||||
TEGRA_VGPU_ATTRIB_L2_SIZE
|
||||
TEGRA_VGPU_ATTRIB_L2_SIZE,
|
||||
TEGRA_VGPU_ATTRIB_GPC0_TPC0_SM_ARCH
|
||||
};
|
||||
|
||||
struct tegra_vgpu_attrib_params {
|
||||
|
||||
Reference in New Issue
Block a user