video: da8xx-fb: store current display information
authorAfzal Mohammed <afzal@ti.com>
Mon, 5 Aug 2013 22:02:24 +0000 (17:02 -0500)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 9 Aug 2013 11:02:41 +0000 (14:02 +0300)
commitb6dbe8e4d578997711097c77fb4538c00a541b62
treee0978d7f831fc2cd428530fcec30bb2f5f1ecd3b
parentbe0f6dbca39036213893d8b83a7779d96844c144
video: da8xx-fb: store current display information

store current videomode and controller data so that reconfiguring can
be done easily. Reconfiguring would be required in fb_set_par, which
is going to be added soon.

If these details are not stored, the work probe does to retrieve these
information would have to repeated at the place of reconfiguring and
modifying platform data would be necessary to handle controller data
changes like bpp.

Signed-off-by: Afzal Mohammed <afzal@ti.com>
Signed-off-by: Darren Etheridge <detheridge@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/da8xx-fb.c