drm/i915: Use FBINFO_STATE defines instead of 0 and 1
authorDamien Lespiau <damien.lespiau@intel.com>
Mon, 10 Jun 2013 14:48:09 +0000 (15:48 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 10 Jun 2013 15:19:44 +0000 (17:19 +0200)
This makes, arguably, the condition on state easier to read.

Suggested-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>

No differences found