[Openchrome-devel] drm-openchrome: 2 commits - drivers/gpu/drm
Kevin Brace
kevinbrace at kemper.freedesktop.org
Sun Nov 27 08:18:25 UTC 2016
drivers/gpu/drm/via/via_crtc.c | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
New commits:
commit bc639e956fab56f67d65b9e253cd08670038c071
Author: Kevin Brace <kevinbrace at gmx.com>
Date: Sun Nov 27 00:14:32 2016 -0800
Discontinuing the support for IGA1 15-bit color mode
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 beda529..26dcab5 100644
--- a/drivers/gpu/drm/via/via_crtc.c
+++ b/drivers/gpu/drm/via/via_crtc.c
@@ -1225,9 +1225,6 @@ via_iga1_mode_set_base_atomic(struct drm_crtc *crtc, struct drm_framebuffer *fb,
switch (fb->depth) {
case 8:
break;
- case 15:
- value |= BIT(2);
- break;
case 16:
/* Bit 4 is for 555/565 selection */
value |= BIT(4) | BIT(2);
commit b038f06894ec220e92fbbbe0ca38551110818fe0
Author: Kevin Brace <kevinbrace at gmx.com>
Date: Sat Nov 26 23:36:35 2016 -0800
Fix to setting IGA1 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 a50e654..beda529 100644
--- a/drivers/gpu/drm/via/via_crtc.c
+++ b/drivers/gpu/drm/via/via_crtc.c
@@ -1233,10 +1233,8 @@ via_iga1_mode_set_base_atomic(struct drm_crtc *crtc, struct drm_framebuffer *fb,
value |= BIT(4) | BIT(2);
break;
case 24:
- value |= BIT(3) | BIT(2);
- break;
case 32:
- value |= BIT(3);
+ value |= BIT(3) | BIT(2);
break;
default:
DRM_ERROR("Unsupported depth: %d\n", fb->depth);
More information about the Openchrome-devel
mailing list