[Intel-gfx] [RFC 06/22] drm/i915: Add a HAS_CMD_PARSER getparam

Daniel Vetter daniel at ffwll.ch
Thu Dec 5 18:26:45 CET 2013


On Thu, Dec 5, 2013 at 6:22 PM, Volkin, Bradley D
<bradley.d.volkin at intel.com> wrote:
> Ok. Any reason to keep both HAS_CMD_PARSER and CMD_PARSER_VER? Seems like
> just the version should be enough.

Just the version should be good enough, if it's not there userspace
will get an -EINVAL. And we can just say that if the version is 0
there's no command parser. So no need for an additional flag.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch



More information about the Intel-gfx mailing list