diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-06-25 22:01:52 +0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-07-10 22:05:35 +0200 |
commit | abfdc1e375aefb3945cdd9b408059b35f4f4f4ec (patch) | |
tree | 6c2034aaf662bcc1271a6d3045d90ce3ce4408af /security/selinux/netlabel.c | |
parent | 082717ead9f5836fac1b2757aad38f652cc63636 (diff) | |
download | blackbird-op-linux-abfdc1e375aefb3945cdd9b408059b35f4f4f4ec.tar.gz blackbird-op-linux-abfdc1e375aefb3945cdd9b408059b35f4f4f4ec.zip |
drm/i915: Move SPLL disabling into hsw_crt_post_disable
Similar to how the ->crtc_mode_set hook should touch the hardware to
enable anything the ->crtc_off hook should disable anything in the
hardware. Otherwise runtime pm for dpms will not work.
Currently the only things left int the haswell_crtc_off hook is
disabling the ddi plls. We can't move the WRPLL enabling out yet
because the current ddi pll sharing code used by the haswell code
doesn't separately track active users and overall users. This must be
fixed by porting it to the generic shared display pll framework, which
is powerful enough.
But the SPLL source is only used by the crt encoder and so can be
moved already. We only need to make sure that the ddi port E is
already off, which hsw_fdi_disable does by calling
intel_ddi_post_disable.
With this the code reorg to shuffle hsw fdi/lpt specific code into a
new hsw-specific crt encoder type is now finally complete.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
[imre: rebased on patchset version w/o pch/crt/fdi refactoring]
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'security/selinux/netlabel.c')
0 files changed, 0 insertions, 0 deletions