]> Pileus Git - ~andy/linux/blobdiff - drivers/gpu/drm/cirrus/cirrus_mode.c
drm/cirrus: correct register values for 16bpp
[~andy/linux] / drivers / gpu / drm / cirrus / cirrus_mode.c
index 58dd900083b9ec6141c8744040ac98ec084ca8ad..530f78f84deed250a2f96350254657b49a0166c9 100644 (file)
@@ -273,8 +273,8 @@ static int cirrus_crtc_mode_set(struct drm_crtc *crtc,
                sr07 |= 0x11;
                break;
        case 16:
-               sr07 |= 0xc1;
-               hdr = 0xc0;
+               sr07 |= 0x17;
+               hdr = 0xc1;
                break;
        case 24:
                sr07 |= 0x15;