lkml.org 
[lkml]   [2018]   [Oct]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2 1/1] atmel_lcdfb: support native-mode display-timings
From
Date

On 08/25/2018 08:23 PM, Sam Ravnborg wrote:
> When a device tree set a display-timing using native-mode
> then according to the bindings doc this should:
>
> native-mode:
> The native mode for the display, in case multiple
> modes are provided.
> When omitted, assume the first node is the native.
>
> The atmel_lcdfb used the last timing subnode and did not
> respect the timing mode specified with native-mode.
>
> Introduce use of of_get_videomode() which allowed
> a nice simplification of the code while also
> added support for native-mode.
>
> As a nice side-effect this fixes a memory leak where the
> data used for timings and the display_np was not freed.
>
> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
> Cc: Nicolas Ferre <nicolas.ferre@microchip.com>
> Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
> Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>

Patch queued for 4.20, thanks.

Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics

\
 
 \ /
  Last update: 2018-10-08 12:41    [W:0.073 / U:1.612 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site