diff options
author | Daniel Vetter | 2012-06-29 22:40:09 +0200 |
---|---|---|
committer | Daniel Vetter | 2012-09-06 07:53:16 +0200 |
commit | ef9c3aee60442d1eaf81fbd7b63f256410cc0aa9 (patch) | |
tree | ee3c942b4cae46e7e643b7f3490d50f6c34fba4c /drivers/gpu/drm/i915/intel_lvds.c | |
parent | eae307a5304f8c0956b8eab75596abba7ad58a5c (diff) |
drm/i915: add direct encoder disable/enable infrastructure
Just prep work, not yet put to some use.
Note that because we're still using the crtc helper to switch modes
(and their complicated way to do partial modesets), we need to call
the encoder's disable function unconditionally.
But once this is cleaned up we shouldn't call the encoder's disable
function unconditionally any more, because then we know that we'll
only call it if the encoder is actually enabled. Also note that we
then need to be careful about which crtc we're filtering the encoder
list on: We want to filter on the crtc of the _current_ mode, not the
one we're about to set up.
For the enabling side we need to do the same trick. And again, we
should be able to simplify this quite a bit when things have settled
into place.
Also note that this simply does not take cloning into account, so dpms
needs to be handled specially for the few outputs where we even bother
with it.
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_lvds.c')
0 files changed, 0 insertions, 0 deletions