]> rtime.felk.cvut.cz Git - linux-imx.git/commit
drm/i915: extract intel_set_config_compute_mode_changes
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 4 Jul 2012 20:41:29 +0000 (22:41 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 6 Sep 2012 06:01:07 +0000 (08:01 +0200)
commit5e2b584ed1563c4c5199510710df6eaa1a36f3b1
tree1d7afbb8988c4f1639d37ca2dbc33f37221958d5
parent85f9eb71fec3322dc3670207ca5c1706467e701c
drm/i915: extract intel_set_config_compute_mode_changes

This computes what exactly changed in the modeset configuration, i.e.
whether a full modeset is required or only an update of the
framebuffer base address or no change at all.

In the future we might add more checks for e.g. when only the output
mode changed, so that we could do a minimal modeset for outputs that
support this. Like the lvds/eDP panels where we only need to update
the panel fitter.

Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h