exynos4210_fimd.c: fix display resize bug introduced after console revamp
commit522fccbe71e35efc96f66cb475f778c2ce02e9fc
authorIgor Mitsyanko <i.mitsyanko@gmail.com>
Tue, 19 Mar 2013 19:44:55 +0000 (19 23:44 +0400)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 16 Apr 2013 07:03:46 +0000 (16 09:03 +0200)
tree9688ce8fe1ec568706db2e8d919ca4f17fce024b
parent24a6e7f4d91e9ed5f8117ecb083431a23f8609a0
exynos4210_fimd.c: fix display resize bug introduced after console revamp

In exynos4210 display update function, we were acquiring DisplaySurface
pointer before calling screen resize function, not paying attention that resize
procedure can replace current DisplaySurface with newly allocated one.
Right thing to do is to initialize DisplaySurface AFTER a call to resize function.

Signed-off-by: Igor Mitsyanko <i.mitsyanko@gmail.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/display/exynos4210_fimd.c