Re: [PATCH v4 3/7] drm/tinydrm: Add MIPI DBI support

2017-03-12 Thread Daniel Vetter
On Sun, Mar 12, 2017 at 7:42 PM, Daniel Vetter wrote: > > The upshot of all this is two-fold: > > - You get rid of a tiny bit of book-keeping in each tinydrm driver (the > merge_clips above, plus the "is this the current fb on our hw" check). > > - There's lots more manual upload devices than ju

Re: [PATCH v4 3/7] drm/tinydrm: Add MIPI DBI support

2017-03-12 Thread Daniel Vetter
On Sat, Feb 11, 2017 at 07:48:54PM +0100, Noralf Trønnes wrote: > +static int mipi_dbi_buf_copy(void *dst, struct drm_framebuffer *fb, > + struct drm_clip_rect *clip, bool swap) > +{ > + struct drm_gem_cma_object *cma_obj = drm_fb_cma_get_gem_obj(fb, 0); > + stru

[PATCH v4 3/7] drm/tinydrm: Add MIPI DBI support

2017-02-11 Thread Noralf Trønnes
Add support for MIPI DBI compatible controllers. Interface type C option 1 and 3 are supported (SPI). Signed-off-by: Noralf Trønnes Acked-by: Thierry Reding --- Changes since version 3: - Use #if IS_ENABLED(CONFIG_SPI) instead of #ifdef to handle tristate Documentation/gpu/tinydrm.rst |