mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-25 02:52:51 +03:00
gpu: nvgpu: Add platform flag to disable ASPM
Add a platform flag and logic to disable ASPM on boot if a platform does not want ASPM enabled. Bug 200256272 Change-Id: I378997290377ef8ffa21bf8e7f3f59fa134b3d4d Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: http://git-master/r/1263271 (cherry picked from commit 01e4700b74f4b4c6f0b9ffb40747653f2b63ea3c) Reviewed-on: http://git-master/r/1274477 GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
c116522b10
commit
ce6b4bac7a
@@ -1084,6 +1084,9 @@ int gk20a_pm_finalize_poweron(struct device *dev)
|
||||
if (g->ops.xve.available_speeds) {
|
||||
u32 speed;
|
||||
|
||||
if (platform->disable_aspm && g->ops.xve.disable_aspm)
|
||||
g->ops.xve.disable_aspm(g);
|
||||
|
||||
g->ops.xve.sw_init(dev);
|
||||
g->ops.xve.available_speeds(g, &speed);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user