Re: [PATCH 22/24] drm/omap: fix maximum sizes

2018-02-28 Thread Tomi Valkeinen
On 27/02/18 15:42, Laurent Pinchart wrote: >> +/* >> + * Note: these values are used for multiple independent things: >> + * connector mode filtering, buffer sizes, crtc sizes... >> + * Use big enough values here to cover all use cases, and do more >> + * specific checking in

Re: [PATCH 22/24] drm/omap: fix maximum sizes

2018-02-27 Thread Laurent Pinchart
Hi Tomi, Thank you for the patch. On Monday, 12 February 2018 11:44:52 EET Tomi Valkeinen wrote: > We define max width and height in mode_config to 2048. These maximums > affect many things, which are independent and depend on platform. We > need to do more fine grained checks in the code paths

[PATCH 22/24] drm/omap: fix maximum sizes

2018-02-12 Thread Tomi Valkeinen
We define max width and height in mode_config to 2048. These maximums affect many things, which are independent and depend on platform. We need to do more fine grained checks in the code paths for each component, and so the maximum values in mode_config should just be "big enough" to cover all use