Message ID | e0d58a$gs691@orsmga002.jf.intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Fri, 24 Jun 2011 11:24:08 +0100, Chris Wilson <chris@chris-wilson.co.uk> wrote: > On Fri, 24 Jun 2011 10:32:16 +0100, Chris Wilson <chris@chris-wilson.co.uk> wrote: > > So here goes -depth 30... > > So other than a couple of rendering paths where we write 8bpc data into > the depth-30 fb (go flash, go!), X looks good. Looking at the xtrace and what the xserver/ddx is doing, it appears that flash is b0rked. Quel surprise. -Chris
diff --git a/drivers/gpu/drm/drm_crtc_helper.c b/drivers/gpu/drm/drm_crtc_helper.c index 9236965..ef4f29c 100644 --- a/drivers/gpu/drm/drm_crtc_helper.c +++ b/drivers/gpu/drm/drm_crtc_helper.c @@ -560,7 +560,9 @@ int drm_crtc_helper_set_config(struct drm_mode_set *set) mode_changed = true; } else if (set->fb == NULL) { mode_changed = true; - } else + } else if (set->fb->depth != set->crtc->fb->depth) + mode_changed = true; + else fb_changed = true; }