Re: [PATCH v3] drm/panel: Add JDI LT070ME05000 WUXGA DSI Panel

From: Rob Herring
Date: Fri Jun 10 2016 - 16:49:38 EST


On Wed, Jun 1, 2016 at 10:14 PM, Vinay Simha BN <simhavcs@xxxxxxxxx> wrote:
> Add support for the JDI lt070me05000 WUXGA DSI panel used in
> Nexus 7 2013 devices.

Sorry for the late comment.

[...]

> +static const struct drm_display_mode default_mode = {
> + .clock = 155493,
> + .hdisplay = 1200,
> + .hsync_start = 1200 + 48,
> + .hsync_end = 1200 + 48 + 32,
> + .htotal = 1200 + 48 + 32 + 60,
> + .vdisplay = 1920,
> + .vsync_start = 1920 + 3,
> + .vsync_end = 1920 + 3 + 5,
> + .vtotal = 1920 + 3 + 5 + 6,
> + .vrefresh = 60,
> + .flags = 0,

This needs to set width_mm and height_mm. Otherwise Android doesn't
know the density.

Rob