[Openchrome-devel] drm-openchrome: drivers/gpu/drm
Kevin Brace
kevinbrace at kemper.freedesktop.org
Mon Nov 28 21:27:48 UTC 2016
drivers/gpu/drm/via/via_crtc.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
New commits:
commit df99918ee7328de753bfd0232d74982e05a227a7
Author: Kevin Brace <kevinbrace at gmx.com>
Date: Mon Nov 28 13:26:03 2016 -0800
Fix to setting IGA2 color depth correctly
Signed-off-by: Kevin Brace <kevinbrace at gmx.com>
diff --git a/drivers/gpu/drm/via/via_crtc.c b/drivers/gpu/drm/via/via_crtc.c
index ed345d4..5d959e0 100644
--- a/drivers/gpu/drm/via/via_crtc.c
+++ b/drivers/gpu/drm/via/via_crtc.c
@@ -1321,10 +1321,8 @@ via_iga2_mode_set_base_atomic(struct drm_crtc *crtc, struct drm_framebuffer *fb,
value = BIT(6);
break;
case 24:
- value = BIT(7) | BIT(6);
- break;
case 32:
- value = BIT(7);
+ value = BIT(7) | BIT(6);
break;
default:
DRM_ERROR("Unsupported depth: %d\n", fb->depth);
More information about the Openchrome-devel
mailing list