Re: [PATCH v5] drm/mcde: Some fixes to handling video mode

2019-12-17 Thread Linus Walleij
On Tue, Dec 17, 2019 at 11:27 AM Stephan Gerhold wrote: > I feel kind of bad to keep requesting changes for this patch, Don't feel like that. It is complex hardware and complex code, so it leads to complex development. Also I am making way too many stupid mistakes :/ > > + val =

Re: [PATCH v5] drm/mcde: Some fixes to handling video mode

2019-12-17 Thread Stephan Gerhold
Hi Linus, I feel kind of bad to keep requesting changes for this patch, but I found one last difference with the vendor kernel: On Mon, Dec 16, 2019 at 10:06:47PM +0100, Linus Walleij wrote: > The video DSI mode had not really been tested. These fixes makes > it more likely to work on real

[PATCH v5] drm/mcde: Some fixes to handling video mode

2019-12-16 Thread Linus Walleij
The video DSI mode had not really been tested. These fixes makes it more likely to work on real hardware: - Put the active width (x width) in the right bits and the VSA (vertical sync active) in the right bits (those were swapped). - Calculate the packet sizes in bytes as in the vendor driver,