Rev 1404 | Rev 2160 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1404 | Rev 1430 | ||
---|---|---|---|
Line 834... | Line 834... | ||
834 | if (set->crtc->fb == NULL) { |
834 | if (set->crtc->fb == NULL) { |
835 | DRM_DEBUG_KMS("crtc has no fb, full mode set\n"); |
835 | DRM_DEBUG_KMS("crtc has no fb, full mode set\n"); |
836 | mode_changed = true; |
836 | mode_changed = true; |
837 | } else if (set->fb == NULL) { |
837 | } else if (set->fb == NULL) { |
838 | mode_changed = true; |
838 | mode_changed = true; |
839 | } else if ((set->fb->bits_per_pixel != |
- | |
840 | set->crtc->fb->bits_per_pixel) || |
- | |
841 | set->fb->depth != set->crtc->fb->depth) |
- | |
842 | fb_changed = true; |
- | |
843 | else |
839 | } else |
844 | fb_changed = true; |
840 | fb_changed = true; |
845 | } |
841 | } |
Line 846... | Line 842... | ||
846 | 842 | ||
847 | if (set->x != set->crtc->x || set->y != set->crtc->y) |
843 | if (set->x != set->crtc->x || set->y != set->crtc->y) |