Change-Id: I4737963d57e01be62c95076d22a26aaae45bfde1
Signed-off-by: Erik Gilling <konkers@android.com>
int type;
unsigned flags;
+ /* size in mm */
+ unsigned h_size;
+ unsigned v_size;
+
int dcc_bus;
int hotplug_gpio;
return false;
}
+ /* monitors like to lie about these but they are still useful for
+ * detecting aspect ratios
+ */
+ dc->out->h_size = specs.max_x * 1000;
+ dc->out->v_size = specs.max_y * 1000;
+
tegra_fb_update_monspecs(dc->fb, &specs, tegra_dc_hdmi_mode_filter);
dev_info(&dc->ndev->dev, "display detected\n");
return true;