drm/i915: Select starting pipe bpp irrespective or the primary plane
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 10 Apr 2015 14:22:37 +0000 (16:22 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 16 Apr 2015 09:20:28 +0000 (11:20 +0200)
commitd328c9d78d64ca11e744fe227096990430a88477
treec82ae31444c9607b057269bdf157f8f82649afbb
parent5678ad736758db6554c8466921dfc496f1fe58b4
drm/i915: Select starting pipe bpp irrespective or the primary plane

Since universal planes the primary plane might not be around, and it's
kinda silly to restrict the pipe bpp to the primary plane if we might
end up displaying a 10bpc video overlay. And with atomic we might very
well enable a pipe without a primary plane. So just use the platform
max as a starting point and then restrict appropriately.

Of course this is all still a bit moot as long as we artificially
compress everything to max 8bpc because we don't use the hi-bpc gamma
tables.

Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Reviewed-by: Ander Conselvan de Oliveira <conselvan2@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c