]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Make updating pipe without modeset atomic.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Thu, 27 Aug 2015 13:44:05 +0000 (15:44 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 14 Sep 2015 08:03:13 +0000 (10:03 +0200)
commit7cdae3e8c43d795dea232bd757a6cbebe09b9110
treeb04131f041a00948d19217ce67154b50120abaf9
parent8c404a9d0d6598ba67c98ca0ad7f8aa407cedafe
drm/i915: Make updating pipe without modeset atomic.

Instead of doing a hack during primary plane commit the state
is updated during atomic evasion. It handles differences in
pipe size and the panel fitter.

This is continuing on top of Daniel's work to make faster
modesets atomic, and not yet enabled by default.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
[danvet:
- simplify/future-proof if ladder that Jesse spotted
- resolve conflict in pipe_config_check and don't spuriously move the
  code.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_atomic.c
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h