]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
drm: xilinx: drv: Set bpp and color depth to drm_framebuffer
authorHyun Kwon <hyun.kwon@xilinx.com>
Sat, 26 Apr 2014 02:38:40 +0000 (19:38 -0700)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 28 Apr 2014 05:01:34 +0000 (07:01 +0200)
commit6d72b0b1c70740007fea93fc0b55038c7d0ab0f0
tree151cca77d4377c913e524c63730c320573c056d9
parent04553a31d6cfa1b310bfd62e7de851a0fa158fd0
drm: xilinx: drv: Set bpp and color depth to drm_framebuffer

The drm crtc helper doesn't set bpp and color depth for non RGB format
drm_framebuffer, and that results in not supporting YUV format planes
properly. This patch fixes and the YUV format drm_framebuffer can be allocated
and used for planes.

Signed-off-by: Hyun Kwon <hyunk@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/gpu/drm/xilinx/xilinx_drm_drv.c