OSDN Git Service

drm: omapdrm: gem: Mask out private flags passed from userspace
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 14 Dec 2015 20:39:36 +0000 (22:39 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 31 Dec 2015 09:25:44 +0000 (11:25 +0200)
commitef3f4e998240c33a9a424d5c1dbb045f2b919d43
tree7ea0d298d822411f93ee56540a32c8f5febda2cb
parentf4302747af0275813922a9fd24e1718bae2f1142
drm: omapdrm: gem: Mask out private flags passed from userspace

The 8 high order bits of the buffer flags are reserved for internal use.
Mask them out from the flags passed by userspace.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/omapdrm/omap_drv.c