diff options
author | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2015-07-14 16:58:28 +0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-07-14 18:18:51 +0300 |
commit | 5c1e34261907736dc3b3a7219b2f48f353f10a93 (patch) | |
tree | f6513b487a375143479b6177bfba93ecd146c7d0 /drivers/gpu/drm/i915/intel_lvds.c | |
parent | 3a03dfb057d0ee5f3146ffe40179af3ed7e48213 (diff) | |
download | linux-5c1e34261907736dc3b3a7219b2f48f353f10a93.tar.xz |
drm/i915: Readout initial hw mode.
drm/i915: Readout initial hw mode, v2.
Atomic requires a mode blob when crtc_state->enable is true, or
you get a huge warn_on.
With a few tweaks the mode we read out from hardware could be used
as the real mode without a modeset, but this requires too much
testing, so for now force a modeset the first time the mode blob's
updated.
This preserves the old behavior, because previously we never set
the initial mode, which always meant that a modeset happened
when the mode was first set.
Changes since v1:
- Add a description in intel_modeset_readout_hw_state of how the
recalculation is done.
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
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