From: Hans de Goede <hdegoede@redhat.com>
To: Daniel Vetter <daniel.vetter@ffwll.ch>,
DRI Development <dri-devel@lists.freedesktop.org>,
LKML <linux-kernel@vger.kernel.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Sam Ravnborg <sam@ravnborg.org>,
Liviu Dudau <liviu.dudau@arm.com>
Subject: Re: [PATCH] staging/vboxvideo: Another FIXME item
Date: Thu, 21 Feb 2019 17:40:05 +0100 [thread overview]
Message-ID: <33679003-ce23-2ba0-d8c2-fd8187ecea36@redhat.com> (raw)
In-Reply-To: <20190221155951.19855-1-daniel.vetter@ffwll.ch>
Hi,
On 21-02-19 16:59, Daniel Vetter wrote:
> 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>
> ---
> drivers/staging/vboxvideo/vbox_irq.c | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/drivers/staging/vboxvideo/vbox_irq.c b/drivers/staging/vboxvideo/vbox_irq.c
> index 195484713365..89944134ea86 100644
> --- a/drivers/staging/vboxvideo/vbox_irq.c
> +++ b/drivers/staging/vboxvideo/vbox_irq.c
> @@ -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.
> + */
Question, are the locking expectations from the drm's core pov (for modesetting-drivers)
*fully* (and clearly) documented somewhere?
Regards,
Hans
> list_for_each_entry(connector, &dev->mode_config.connector_list, head) {
> vbox_conn = to_vbox_connector(connector);
>
>
next prev parent reply other threads:[~2019-02-21 16:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-21 15:59 Daniel Vetter
2019-02-21 16:04 ` Greg Kroah-Hartman
2019-02-21 16:40 ` Hans de Goede [this message]
2019-02-21 16:49 ` Daniel Vetter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=33679003-ce23-2ba0-d8c2-fd8187ecea36@redhat.com \
--to=hdegoede@redhat.com \
--cc=daniel.vetter@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=liviu.dudau@arm.com \
--cc=sam@ravnborg.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®