gfx: drv: tc35876x: Fix physical display size information
authorPauli Nieminen <pauli.nieminen@linux.intel.com>
Tue, 15 Nov 2011 12:48:39 +0000 (14:48 +0200)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 3 Jul 2012 09:28:37 +0000 (12:28 +0300)
commit21ff38ddbb7635e337e84608721c3a1d6a37bd5b
tree2f388416212fef7ae1e35864a10192f82cadef97
parent08179e5efb69bf738e97fb77d4006eee46c118e6
gfx: drv: tc35876x: Fix physical display size information

The physical size of display is hardcoded in display driver. The
hardcoded value for lvds bridge is returned from tmd panel which is
phone size display.

Userspace reading the incorrect display size would calculate wrong dpi
for display which would results to incorrectly sized UI.

To provide correct information for lvds bridge driver needs separate
panel info function for lvds bridge.

Signed-off-by: Pauli Nieminen <pauli.nieminen@linux.intel.com>
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
drivers/staging/mrst/drv/tc35876x-dsi-lvds.c
drivers/staging/mrst/drv/tc35876x-dsi-lvds.h
drivers/staging/mrst/drv/tmd_vid.c