Re: [PATCH v2] drm: Copy drm_wait_vblank to user before returning

2021-08-17 Thread Sean Paul
On Fri, Aug 13, 2021 at 11:48 AM Mark Yacoub wrote: > > Thanks for your review Michel! > @MAINTAINER, could you please strip the Change-Id when applying. > Thanks! Applied to drm-misc-fixes with the Change-Id removed. Thank you for your patch! Sean > > On Fri, Aug 13, 2021 at 3:33 AM Michel

Re: [PATCH v2] drm: Copy drm_wait_vblank to user before returning

2021-08-13 Thread Mark Yacoub
Thanks for your review Michel! @MAINTAINER, could you please strip the Change-Id when applying. Thanks! On Fri, Aug 13, 2021 at 3:33 AM Michel Dänzer wrote: > > On 2021-08-12 9:49 p.m., Mark Yacoub wrote: > > From: Mark Yacoub > > > > [Why] > > Userspace should get back a copy of

Re: [PATCH v2] drm: Copy drm_wait_vblank to user before returning

2021-08-13 Thread Michel Dänzer
On 2021-08-12 9:49 p.m., Mark Yacoub wrote: > From: Mark Yacoub > > [Why] > Userspace should get back a copy of drm_wait_vblank that's been modified > even when drm_wait_vblank_ioctl returns a failure. > > Rationale: > drm_wait_vblank_ioctl modifies the request and expects the user to read > it

[PATCH v2] drm: Copy drm_wait_vblank to user before returning

2021-08-12 Thread Mark Yacoub
From: Mark Yacoub [Why] Userspace should get back a copy of drm_wait_vblank that's been modified even when drm_wait_vblank_ioctl returns a failure. Rationale: drm_wait_vblank_ioctl modifies the request and expects the user to read it back. When the type is RELATIVE, it modifies it to ABSOLUTE