[Intel-gfx] [PATCH 34/43] drm/i915: allow 8 bit BIOS configs to be inherited

Chris Wilson chris at chris-wilson.co.uk
Fri May 25 14:33:13 CEST 2012


From: Jesse Barnes <jbarnes at virtuousgeek.org>

Signed-off-by: Jesse Barnes <jbarnes at virtuousgeek.org>
---
 drivers/gpu/drm/i915/intel_fb.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/intel_fb.c b/drivers/gpu/drm/i915/intel_fb.c
index 5550de7..74bd22e 100644
--- a/drivers/gpu/drm/i915/intel_fb.c
+++ b/drivers/gpu/drm/i915/intel_fb.c
@@ -316,7 +316,8 @@ void intel_fbdev_init_bios(struct drm_device *dev)
 		switch (val & DISPPLANE_PIXFORMAT_MASK) {
 		default:
 		case DISPPLANE_8BPP:
-			continue; /* ignore palettes */
+			depth = bpp = 8;
+			break;
 		case DISPPLANE_15_16BPP:
 			depth = 15; bpp = 16;
 			break;
-- 
1.7.10




More information about the Intel-gfx mailing list