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)
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

Simple merge
Simple merge
Simple merge