drm/i915: Refactor cmd parser checks into a function
authorBrad Volkin <bradley.d.volkin@intel.com>
Thu, 27 Mar 2014 18:43:39 +0000 (11:43 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 2 Apr 2014 09:34:22 +0000 (11:34 +0200)
commitb651000b222701527c730b82ccb0ce42d99a6abe
tree3970aabc36b6800f08875bff9b73f8f7c3b9e02d
parent300233ee23d6ab8f05f0b673a278c66e6b19f079
drm/i915: Refactor cmd parser checks into a function

This brings the code a little more in line with kernel coding style.

Signed-off-by: Brad Volkin <bradley.d.volkin@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_cmd_parser.c