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>
diff --git a/hw/display/goldfish_fb.c b/hw/display/goldfish_fb.c
index ecc4a82..b2ac750 100644
--- a/hw/display/goldfish_fb.c
+++ b/hw/display/goldfish_fb.c
@@ -504,8 +504,7 @@
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 @@
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;