mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-25 11:04:51 +03:00
gpu: nvgpu: set soc memory aperture type
Set platform data for soc memory aperture type, whether soc memory aperture seen as sysmem or vidmem. For gk20a/gm20b, soc memory aperture seen as vidmem. Bug 1749338 Change-Id: I407562ca484c1a4bae1bee12089d2b19f378ca53 Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-on: http://git-master/r/1129167 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Ken Adams <kadams@nvidia.com>
This commit is contained in:
committed by
Ken Adams
parent
63319c0fb9
commit
26b0037dc6
@@ -211,6 +211,10 @@ struct gk20a_platform {
|
||||
|
||||
/* soc name for finding firmware files */
|
||||
const char *soc_name;
|
||||
|
||||
/* if vidmem aperture actually points to vidmem*/
|
||||
bool vidmem_is_vidmem;
|
||||
|
||||
};
|
||||
|
||||
static inline struct gk20a_platform *gk20a_get_platform(
|
||||
|
||||
Reference in New Issue
Block a user