drm/i915: Replace open-coding of DEFAULT_CONTEXT_ID
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 3 Jul 2013 14:22:07 +0000 (17:22 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 16 Jul 2013 08:40:40 +0000 (10:40 +0200)
commite85209698649be30cb1389966f29107d63f16940
tree24db98ff13c3f9470a171d714f351d071067865d
parent11fa3384042f5578e0f6179eef70cbcb2892be92
drm/i915: Replace open-coding of DEFAULT_CONTEXT_ID

The intent of the check is made more clear if we use the proper name for
0 here.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_execbuffer.c