mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
gpu: nvgpu: Determine ECC-enabled units for GP10B
Determine ECC-enabled units for GP10B by reading fuses/registers. Bug 1637486 Change-Id: I6431709e3c405d6156dd96438df14d4054b48644 Signed-off-by: Sami Kiminki <skiminki@nvidia.com> Signed-off-by: Adeel Raza <araza@nvidia.com> Reviewed-on: http://git-master/r/780992 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/1120463 Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
This commit is contained in:
committed by
Deepak Nibade
parent
960704ca25
commit
58adb7385d
@@ -41,6 +41,8 @@
|
||||
#include "gm20b/clk_gm20b.h"
|
||||
#include <linux/tegra-fuse.h>
|
||||
|
||||
#include "gp10b.h"
|
||||
|
||||
#define FUSE_OPT_PRIV_SEC_EN_0 0x264
|
||||
#define PRIV_SECURITY_ENABLED 0x01
|
||||
|
||||
@@ -153,6 +155,7 @@ int gp10b_init_hal(struct gk20a *g)
|
||||
gp10b_init_cde_ops(gops);
|
||||
gp10b_init_therm_ops(gops);
|
||||
gops->name = "gp10b";
|
||||
gops->chip_init_gpu_characteristics = gp10b_init_gpu_characteristics;
|
||||
|
||||
c->twod_class = FERMI_TWOD_A;
|
||||
c->threed_class = PASCAL_A;
|
||||
|
||||
Reference in New Issue
Block a user