staging/vboxvideo: Another FIXME item
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 21 Feb 2019 15:59:51 +0000 (16:59 +0100)
committerHans de Goede <hdegoede@redhat.com>
Mon, 11 Mar 2019 16:31:00 +0000 (17:31 +0100)
Found while grepping around.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Hans de Goede <hdegoede@redhat.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Liviu Dudau <liviu.dudau@arm.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190221155951.19855-1-daniel.vetter@ffwll.ch
drivers/staging/vboxvideo/vbox_irq.c

index 195484713365dc50d95e89e21c2e680c616ae629..89944134ea865d2878145ae22517f0c90ce9a17b 100644 (file)
@@ -123,6 +123,11 @@ static void vbox_update_mode_hints(struct vbox_private *vbox)
 
        validate_or_set_position_hints(vbox);
        drm_modeset_lock_all(dev);
+       /*
+        * FIXME: this needs to use drm_connector_list_iter and some real
+        * locking for the actual data it changes, not the deprecated
+        * drm_modeset_lock_all() shotgun approach.
+        */
        list_for_each_entry(connector, &dev->mode_config.connector_list, head) {
                vbox_conn = to_vbox_connector(connector);