diff options
author | Paulo Zanoni <paulo.r.zanoni@intel.com> | 2014-02-19 16:44:08 -0300 |
---|---|---|
committer | Paulo Zanoni <paulo.r.zanoni@intel.com> | 2014-02-26 18:42:32 -0300 |
commit | 5b4a385c5aa3db321ae97e9518fced1dfcef22d4 (patch) | |
tree | d14d7e7c9ebd3980018320d665df943356e9f766 /virt | |
parent | c703cb1ec17316109dd1420252aac1299a3e5d3f (diff) |
drm/i915: add forcewake functions that don't touch runtime PM
To solve a chicken-and-egg problem. Currently when we get/put
forcewake we also get/put runtime PM and this works fine because the
runtime PM code doesn't need forcewake. But we're going to merge PC8
and runtime PM into a single feature, and the PC8 code (the LCPLL
code) does need the forcewake, so that specific piece of code needs to
call the _no_rpm version so it doesn't try to get runtime PM in the
code that gets runtime PM.
For now the new functions are unused, we'll use them on the patch that
merges PC8 with runtime PM.
Also notice that, so simplify things, the put() function doesn't use
the workqueue, since the workqueue also puts runtime PM.
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions