commit | b6f3eff7130bbdb3d3ca5b7bbff2384b362606b4 | [log] [tgz] |
---|---|---|
author | Damien Lespiau <damien.lespiau@intel.com> | Mon Jun 10 15:48:09 2013 +0100 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Mon Jun 10 17:19:44 2013 +0200 |
tree | 02a24f172f00980146e34aa741f47d0116e0cada | |
parent | e596a02ccfc6503ae5c37b14c74b6b743eefe102 [diff] |
drm/i915: Use FBINFO_STATE defines instead of 0 and 1 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>