diff options
author | Mahantesh Kumbar <mkumbar@nvidia.com> | 2017-09-20 04:42:01 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-10-21 20:34:18 -0400 |
commit | 8882014731730ef7febb1e2236e82a9d409f77ec (patch) | |
tree | cf8f1457f64b5f2e7be024350fafbc2ad3ca7dde /drivers/gpu/nvgpu/include | |
parent | 5ff6ebd2f49cb2db01e21ed2403231c23a30c3ad (diff) |
gpu: nvgpu: Add nvdec falcon support
- Added "nvgpu_flacon nvdec_flcn" member to gk20a
- Added base address & flacon id of NVDEC falcon
- Included nvdec falcon to access common falcon code
- Enabled nvdec falcon support for GP106
- Disabled nvdec falcon support for iGPU
- Made call to enable nvdec falcon support if supported
Change-Id: Ia928d082275a720e4e8c6852384e489c8ec444f8
Signed-off-by: Mahantesh Kumbar <mkumbar@nvidia.com>
(cherry picked from commit 3d80aeff295bad8365af6022555ad151f1a32cf6)
Reviewed-on: https://git-master.nvidia.com/r/1564305
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/include')
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/falcon.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/falcon.h b/drivers/gpu/nvgpu/include/nvgpu/falcon.h index 72c74784..888d8e70 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/falcon.h +++ b/drivers/gpu/nvgpu/include/nvgpu/falcon.h | |||
@@ -32,11 +32,13 @@ | |||
32 | #define FALCON_ID_PMU (0) | 32 | #define FALCON_ID_PMU (0) |
33 | #define FALCON_ID_FECS (2) | 33 | #define FALCON_ID_FECS (2) |
34 | #define FALCON_ID_GPCCS (3) | 34 | #define FALCON_ID_GPCCS (3) |
35 | #define FALCON_ID_NVDEC (4) | ||
35 | #define FALCON_ID_SEC2 (7) | 36 | #define FALCON_ID_SEC2 (7) |
36 | 37 | ||
37 | /* | 38 | /* |
38 | * Falcon Base address Defines | 39 | * Falcon Base address Defines |
39 | */ | 40 | */ |
41 | #define FALCON_NVDEC_BASE 0x00084000 | ||
40 | #define FALCON_PWR_BASE 0x0010a000 | 42 | #define FALCON_PWR_BASE 0x0010a000 |
41 | #define FALCON_SEC_BASE 0x00087000 | 43 | #define FALCON_SEC_BASE 0x00087000 |
42 | #define FALCON_FECS_BASE 0x00409000 | 44 | #define FALCON_FECS_BASE 0x00409000 |