Re: [PATCH 2/3] drm/panel: use mipi_dsi_dcs_write_buffer where possible

2020-06-29 Thread Sam Ravnborg
On Mon, May 11, 2020 at 12:28:40PM +0100, Emil Velikov wrote: > On Tue, 5 May 2020 at 17:05, Emil Velikov wrote: > > > > From: Emil Velikov > > > > A few of the new panels create a local macro wrapping around > > mipi_dsi_dcs_write. At the same time, they don't really care about the > > command/p

Re: [PATCH 2/3] drm/panel: use mipi_dsi_dcs_write_buffer where possible

2020-05-11 Thread Emil Velikov
On Tue, 5 May 2020 at 17:05, Emil Velikov wrote: > > From: Emil Velikov > > A few of the new panels create a local macro wrapping around > mipi_dsi_dcs_write. At the same time, they don't really care about the > command/payload split. > > mipi_dsi_dcs_write does a kmalloc/memcpy/kfree for payload

[PATCH 2/3] drm/panel: use mipi_dsi_dcs_write_buffer where possible

2020-05-05 Thread Emil Velikov
From: Emil Velikov A few of the new panels create a local macro wrapping around mipi_dsi_dcs_write. At the same time, they don't really care about the command/payload split. mipi_dsi_dcs_write does a kmalloc/memcpy/kfree for payload > 7 bytes. kmalloc - avoid that all together by using the _buff