diff options
-rw-r--r-- | sys/dev/pci/drm/i915/intel_fb.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/i915/intel_fb.c b/sys/dev/pci/drm/i915/intel_fb.c index dc0f448deba..efb56630b9c 100644 --- a/sys/dev/pci/drm/i915/intel_fb.c +++ b/sys/dev/pci/drm/i915/intel_fb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: intel_fb.c,v 1.3 2013/04/14 19:04:37 kettenis Exp $ */ +/* $OpenBSD: intel_fb.c,v 1.4 2013/04/17 20:15:14 kettenis Exp $ */ /* * Copyright © 2007 David Airlie * @@ -167,6 +167,14 @@ intelfb_create(struct intel_fbdev *ifbdev, ri->ri_bnum = 8; ri->ri_bpos = 0; break; + case DRM_FORMAT_RGB565: + ri->ri_rnum = 5; + ri->ri_rpos = 11; + ri->ri_gnum = 6; + ri->ri_gpos = 5; + ri->ri_bnum = 5; + ri->ri_bpos = 0; + break; } } #endif |