]> 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)
commitd609d39cd880104eda15d1e9cf00327d233219d2
treeacf4290d5b83894212eb71dc51d2a5c088fa67b3
parent98347f140858141e9735459cb294af35ccf428f7
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