drm: bpp and depth changes require full mode sets
authorJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 24 Jun 2011 19:19:26 +0000 (12:19 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 7 Jul 2011 20:20:49 +0000 (13:20 -0700)
commit46e484566fe4dc8a34e0ccc154e2f8b939b9ec96
tree6bcfc2121dfd705c3db0ec5554f2b6c5b6492f21
parent020f6704b5fbf687534ce53aeedc0364a995ae8a
drm: bpp and depth changes require full mode sets

To properly drive a framebuffer with a new depth or bpp, dither settings
and link bandwidth calculations may change, so make sure we go through a
full mode set in that case.

Reported-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Keith Packard <keithp@keithp.com>
drivers/gpu/drm/drm_crtc_helper.c