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

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

 



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



[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux