Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1272854
| From | Alexandre Courbot <gnurou@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] drm/tegra: fix locking of SET_TILING ioctl |
| Date | 2015-11-19 06:00 +0100 |
| Message-ID | <qwpu9-4BN-13@gated-at.bofh.it> (permalink) |
| References | <qtUkO-5Od-7@gated-at.bofh.it> <qvLn3-3DL-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, Nov 17, 2015 at 7:02 PM, Daniel Vetter <daniel@ffwll.ch> wrote: > On Thu, Nov 12, 2015 at 04:09:56PM +0900, Alexandre Courbot wrote: >> drm_gem_object_unreference() now expects obj->dev->struct_mutex to be >> held. Use the newly-introduced drm_gem_object_unreference_unlocked() >> which handles locking for us. > > This rule has been really old, I simply made the checking more anal in > > commit ef4c6270bf2867e2f8032e9614d1a8cfc6c71663 > Author: Daniel Vetter <daniel.vetter@ffwll.ch> > Date: Thu Oct 15 09:36:25 2015 +0200 > > drm/gem: Check locking in drm_gem_object_unreference > > With the above added this is: > > Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch Thanks! Sending an updated version. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: [PATCH] drm/tegra: fix locking of SET_TILING ioctl Daniel Vetter <daniel@ffwll.ch> - 2015-11-17 11:10 +0100 Re: [PATCH] drm/tegra: fix locking of SET_TILING ioctl Alexandre Courbot <gnurou@gmail.com> - 2015-11-19 06:00 +0100
csiph-web