linux/drivers/gpu/drm/tilcdc
Laurent Pinchart 59f11a4323 drm: tilcdc: Replace drm_fb_get_bpp_depth() with drm_format_plane_cpp()
The driver needs the number of bytes per pixel, not the bpp and depth
info meant for fbdev compatibility. Use the right API.

In the tilcdc_crtc_mode_set() function compute the hardware register
value directly from the pixel format instead of computing the number of
bits per pixels first.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Link: http://patchwork.freedesktop.org/patch/msgid/1476744081-24485-7-git-send-email-laurent.pinchart@ideasonboard.com
2016-10-18 15:21:57 +05:30
..
Kconfig drm/tilcdc: make fbdev support really optional 2016-07-18 09:11:38 +02:00
Makefile drm/tilcdc: Add dummy primary plane implementation 2016-08-08 23:05:00 +03:00
tilcdc_crtc.c drm: tilcdc: Replace drm_fb_get_bpp_depth() with drm_format_plane_cpp() 2016-10-18 15:21:57 +05:30
tilcdc_drv.c drm: Add reference counting to drm_atomic_state 2016-10-17 08:19:57 +02:00
tilcdc_drv.h drm/tilcdc: Clean up LCDC functional clock rate setting code 2016-09-07 15:54:40 +03:00
tilcdc_external.c drm/tilcdc: Choose console BPP that supports RGB 2016-09-01 22:32:23 +03:00
tilcdc_external.h drm/tilcdc: Choose console BPP that supports RGB 2016-09-01 22:32:23 +03:00
tilcdc_panel.c drm/tilcdc: add missing header dependencies 2016-09-22 23:50:08 +03:00
tilcdc_panel.h drm/tilcdc: add support for LCD panels (v5) 2013-02-19 17:57:45 -05:00
tilcdc_plane.c drm: tilcdc: Replace drm_fb_get_bpp_depth() with drm_format_plane_cpp() 2016-10-18 15:21:57 +05:30
tilcdc_regs.h drm/tilcdc: Write DMA base and ceiling address with single instruction 2016-09-01 22:31:59 +03:00
tilcdc_slave_compat.c drm/tilcdc: Return directly after a failed kfree_table_init() in tilcdc_convert_slave_node() 2016-09-23 13:49:52 +03:00
tilcdc_slave_compat.dts drm/tilcdc: Add DRM_TILCDC_SLAVE_COMPAT for ti,tilcdc,slave binding support 2015-05-27 13:13:33 +03:00
tilcdc_slave_compat.h drm/tilcdc: Add DRM_TILCDC_SLAVE_COMPAT for ti,tilcdc,slave binding support 2015-05-27 13:13:33 +03:00
tilcdc_tfp410.c drm/tilcdc: add missing header dependencies 2016-09-22 23:50:08 +03:00
tilcdc_tfp410.h