]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit42b9f99d72c9b32e1ef80e267b64bab63506f0ef
treec82ae31444c9607b057269bdf157f8f82649afbb
parent042189159d21412787e8bdf78ef58e3e3a0c52c0
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