From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Daniel Vetter <daniel@ffwll.ch>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>,
dri-devel <dri-devel@lists.freedesktop.org>
Subject: Re: [PATCH v2 3/5] drm: omapdrm: Remove legacy buffer synchronization support
Date: Tue, 18 Apr 2017 11:59:30 +0300 [thread overview]
Message-ID: <3930363.i7LIX3g0m8@avalon> (raw)
In-Reply-To: <CAKMK7uHX3YENwRrYb_jQa9rJGdQmy-=Y7QFM3VVS04hjeDK8sA@mail.gmail.com>
Hi Daniel,
On Tuesday 18 Apr 2017 08:20:29 Daniel Vetter wrote:
> On Sat, Apr 15, 2017 at 11:16 AM, Laurent Pinchart wrote:
> > - DRM_IOCTL_DEF_DRV(OMAP_GEM_CPU_PREP, ioctl_gem_cpu_prep,
> > + DRM_IOCTL_DEF_DRV(OMAP_GEM_CPU_PREP, ioctl_gem_cpu_prep_fini,
> > DRM_AUTH | DRM_RENDER_ALLOW),
> > - DRM_IOCTL_DEF_DRV(OMAP_GEM_CPU_FINI, ioctl_gem_cpu_fini,
> > + DRM_IOCTL_DEF_DRV(OMAP_GEM_CPU_FINI, ioctl_gem_cpu_prep_fini,
> > DRM_AUTH | DRM_RENDER_ALLOW),
>
> drm_noop and drm_invalid_op give you 2 default options for this, for
> even less code.
Thank you for the tip, I didn't know about that.
--
Regards,
Laurent Pinchart
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2017-04-18 8:58 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-15 9:16 [PATCH v2 0/5] omapdrm: fences and zpos Laurent Pinchart
2017-04-15 9:16 ` [PATCH v2 1/5] drm: omapdrm: Handle events when enabling/disabling CRTCs Laurent Pinchart
2017-04-24 9:59 ` Tomi Valkeinen
2017-04-15 9:16 ` [PATCH v2 2/5] drm: omapdrm: Use DRM core's atomic commit helper Laurent Pinchart
2017-04-27 10:45 ` Tomi Valkeinen
2017-04-15 9:16 ` [PATCH v2 3/5] drm: omapdrm: Remove legacy buffer synchronization support Laurent Pinchart
2017-04-18 6:20 ` Daniel Vetter
2017-04-18 8:59 ` Laurent Pinchart [this message]
2017-04-15 9:16 ` [PATCH v2 4/5] drm: omapdrm: Store the Z order in the plane state zpos field Laurent Pinchart
2017-04-24 9:40 ` Tomi Valkeinen
2017-04-24 14:00 ` Laurent Pinchart
2017-04-25 9:01 ` Tomi Valkeinen
2017-04-15 9:16 ` [PATCH v2 5/5] drm: omapdrm: Add zpos property Laurent Pinchart
2017-04-24 9:37 ` Tomi Valkeinen
2017-04-24 14:00 ` Laurent Pinchart
2017-04-24 14:05 ` Laurent Pinchart
2017-04-25 8:56 ` Tomi Valkeinen
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=3930363.i7LIX3g0m8@avalon \
--to=laurent.pinchart@ideasonboard.com \
--cc=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=tomi.valkeinen@ti.com \
/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