Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/nvidia use XRGB8888 for framebuffer



details:   https://anonhg.NetBSD.org/src/rev/9c671f718335
branches:  trunk
changeset: 811813:9c671f718335
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Mon Nov 16 21:14:33 2015 +0000

description:
use XRGB8888 for framebuffer

diffstat:

 sys/arch/arm/nvidia/tegra_drm_fb.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r cdf3321e1399 -r 9c671f718335 sys/arch/arm/nvidia/tegra_drm_fb.c
--- a/sys/arch/arm/nvidia/tegra_drm_fb.c        Mon Nov 16 17:09:56 2015 +0000
+++ b/sys/arch/arm/nvidia/tegra_drm_fb.c        Mon Nov 16 21:14:33 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tegra_drm_fb.c,v 1.2 2015/11/12 00:43:52 jmcneill Exp $ */
+/* $NetBSD: tegra_drm_fb.c,v 1.3 2015/11/16 21:14:33 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2015 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tegra_drm_fb.c,v 1.2 2015/11/12 00:43:52 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tegra_drm_fb.c,v 1.3 2015/11/16 21:14:33 jmcneill Exp $");
 
 #include <drm/drmP.h>
 #include <drm/drm_crtc.h>
@@ -137,7 +137,7 @@
         fb->offsets[0] = 0;
         fb->width = width;
         fb->height = height;
-        fb->pixel_format = DRM_FORMAT_ARGB8888;
+        fb->pixel_format = DRM_FORMAT_XRGB8888;
         drm_fb_get_bpp_depth(fb->pixel_format, &fb->depth,
             &fb->bits_per_pixel);
        tegra_drm_framebuffer_init(ddev, tegra_fb);



Home | Main Index | Thread Index | Old Index