]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: flush plane control changes on ILK+ as well
authorJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 28 Jul 2011 18:52:45 +0000 (11:52 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 28 Jul 2011 23:28:31 +0000 (16:28 -0700)
commit040b0d8a79c87fbc69fa8f1b2834a37a20e337a2
tree063f36ca865e51c0ebf45f2bf42b0c9e67c9f03e
parentcdcdaba77d318eb37331b506e72201d81e74a56b
drm/i915: flush plane control changes on ILK+ as well

After writing to the plane control reg we need to write to the surface
reg to trigger the double buffered register latch.  On previous
chipsets, writing to DSPADDR was enough, but on ILK+ DSPSURF is the reg
that triggers the double buffer latch.

v2: write DSPADDR too to cover pre-965 chipsets
v3: use flush_display_plane instead, that's what it's for
v4: send the right patch

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Tested-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
drivers/gpu/drm/i915/intel_display.c