drm/i915: don't use uninitialized EDID bpc values when picking pipe bpp
authorJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 28 Jul 2011 19:55:14 +0000 (12:55 -0700)
committerKeith Packard <keithp@keithp.com>
Mon, 1 Aug 2011 21:45:27 +0000 (14:45 -0700)
The EDID parser will zero out the bpc value, and the driver needs to handle
that case.  In our picker, we'll just ignore 0 values as far as bpp
picking goes.

Fixes https://bugs.freedesktop.org/show_bug.cgi?id=39323.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Keith Packard <keithp@keithp.com>

No differences found