diff options
author | Greg Hackmann <ghackmann@google.com> | 2013-10-28 11:03:32 -0700 |
---|---|---|
committer | David 'Digit' Turner <digit@google.com> | 2014-05-26 10:30:04 +0200 |
commit | 99bf0faa8b5ee6057ca129ae22b7b899165400b0 (patch) | |
tree | 943ca81681b6cd752059af35d56ad72e3ed1b4eb /hw | |
parent | 522d420505f60e50e2a1b25bc771dcbea3f896ec (diff) |
HACK: goldfish_fb: disable UI rotation events
It's not clear how this worked or how to port it to the new display API,
so disable it for now
Signed-off-by: Greg Hackmann <ghackmann@google.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/display/goldfish_fb.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/hw/display/goldfish_fb.c b/hw/display/goldfish_fb.c index ecc4a8292d..b2ac750f3d 100644 --- a/hw/display/goldfish_fb.c +++ b/hw/display/goldfish_fb.c @@ -504,8 +504,7 @@ static void goldfish_fb_write(void *opaque, target_phys_addr_t offset, s->int_enable = val; goldfish_device_set_irq(&s->dev, 0, (s->int_status & s->int_enable)); break; - case FB_SET_BASE: { - int need_resize = !s->base_valid; + case FB_SET_BASE: s->fb_base = val; s->int_status &= ~FB_INT_BASE_UPDATE_DONE; s->need_update = 1; @@ -514,14 +513,9 @@ static void goldfish_fb_write(void *opaque, target_phys_addr_t offset, if(s->set_rotation != s->rotation) { //printf("FB_SET_BASE: rotation : %d => %d\n", s->rotation, s->set_rotation); s->rotation = s->set_rotation; - need_resize = 1; } goldfish_device_set_irq(&s->dev, 0, (s->int_status & s->int_enable)); - if (need_resize) { - //printf("FB_SET_BASE: need resize (rotation=%d)\n", s->rotation ); - dpy_resize(s->ds); - } - } break; + break; case FB_SET_ROTATION: //printf( "FB_SET_ROTATION %d\n", val); s->set_rotation = val; |