commit | 7312e2ddec1ffe4511a85a2814df44e79ded3c1d | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Wed Aug 13 12:14:12 2014 +0100 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Wed Aug 13 14:23:39 2014 +0200 |
tree | 60053a9aeb5b3a424c2a377b3c63a27d1d524069 | |
parent | dc41c154ffc30afb7ee7e891140dead26fce5c39 [diff] |
drm/i915: Replace __I915__ with typesafe variant Ville pointed out the GCCism __builtin_types_compatible_p() that we could use to replace our heavily casted presumption __I915__ macro that was based on comparing struct sizes. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>