]> git.baikalelectronics.ru Git - kernel.git/commit
drm/cirrus: allow 32bpp framebuffers for cirrus drm
authorZach Reizner <zachr@google.com>
Wed, 29 Oct 2014 18:04:24 +0000 (11:04 -0700)
committerDave Airlie <airlied@redhat.com>
Thu, 20 Nov 2014 01:42:46 +0000 (11:42 +1000)
commit9ef41847ba179d55eccb5b354b68ed7af89c369b
treeacf4290d5b83894212eb71dc51d2a5c088fa67b3
parent48befdd943fa37eabc04859071974196fa61e46d
drm/cirrus: allow 32bpp framebuffers for cirrus drm

This patch allows framebuffers for cirrus to be created with
32bpp pixel formats provided that they do not violate certain
restrictions of the cirrus hardware.

v2: Use pci resource length for vram size.

Signed-off-by: Zach Reizner <zachr@google.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/cirrus/cirrus_drv.h
drivers/gpu/drm/cirrus/cirrus_fbdev.c
drivers/gpu/drm/cirrus/cirrus_main.c