mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
gpu: nvgpu: Per chip default big page size
Make default big page size query a HAL op instead of per-platform constant. This allows querying for default big page size without accessing Linux specific gk20a_platform structure. JIRA NVGPU-38 Change-Id: Ibfbd1319764fdae5fdb06700fb64d23f6f3dd01a Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: https://git-master/r/1507928 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit
This commit is contained in:
committed by
mobile promotions
parent
82c0c96290
commit
001c7c3185
@@ -86,8 +86,6 @@ static struct gk20a_platform nvgpu_pci_device[] = {
|
||||
.is_railgated = nvgpu_pci_tegra_is_railgated,
|
||||
.clk_round_rate = nvgpu_pci_clk_round_rate,
|
||||
|
||||
.default_big_page_size = SZ_64K,
|
||||
|
||||
.ch_wdt_timeout_ms = 7000,
|
||||
|
||||
.honors_aperture = true,
|
||||
@@ -121,8 +119,6 @@ static struct gk20a_platform nvgpu_pci_device[] = {
|
||||
.is_railgated = nvgpu_pci_tegra_is_railgated,
|
||||
.clk_round_rate = nvgpu_pci_clk_round_rate,
|
||||
|
||||
.default_big_page_size = SZ_64K,
|
||||
|
||||
.ch_wdt_timeout_ms = 7000,
|
||||
|
||||
.honors_aperture = true,
|
||||
@@ -156,8 +152,6 @@ static struct gk20a_platform nvgpu_pci_device[] = {
|
||||
.is_railgated = nvgpu_pci_tegra_is_railgated,
|
||||
.clk_round_rate = nvgpu_pci_clk_round_rate,
|
||||
|
||||
.default_big_page_size = SZ_64K,
|
||||
|
||||
.ch_wdt_timeout_ms = 7000,
|
||||
|
||||
.honors_aperture = true,
|
||||
@@ -191,8 +185,6 @@ static struct gk20a_platform nvgpu_pci_device[] = {
|
||||
.is_railgated = nvgpu_pci_tegra_is_railgated,
|
||||
.clk_round_rate = nvgpu_pci_clk_round_rate,
|
||||
|
||||
.default_big_page_size = SZ_64K,
|
||||
|
||||
.ch_wdt_timeout_ms = 7000,
|
||||
|
||||
.honors_aperture = true,
|
||||
|
||||
Reference in New Issue
Block a user