-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drm/nouveau: pmu: Change the init value of elpg_disable_depth to 1
ELPG will be enabled by default when GPMU finishes booting, which means refcount "elpg_disable_depth" will get decreased by 1. So to keep this counter to 0 when nobody enable/disable ELPG, set it's initial value to 1. Also this patch removes the codes in pmu's .fini function, to set "elpg_disable_depth" to 0. This doesn't make much sense because "elpg_disable_depth" will be set to 1 in .init later. BUG=none TEST=Boots to UI OK Change-Id: Iff1d68f095fcd47eaca1a4c037c477a25ae2c7a7 Signed-off-by: Mark Zhang <markz@nvidia.com> Reviewed-on: https://chromium-review.googlesource.com/305621 Reviewed-by: Tomasz Figa <tfiga@chromium.org>
- Loading branch information
Mark Zhang
authored and
chrome-bot
committed
Oct 27, 2015
1 parent
7b17ca9
commit b575426
Showing
2 changed files
with
10 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters