Re: [RFC 06/22] drm/i915: Add a HAS_CMD_PARSER getparam

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Dec 5, 2013 at 6:22 PM, Volkin, Bradley D
<bradley.d.volkin@xxxxxxxxx> 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
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux