commit | 5eddb70ba2b8cdbbdd563f5cb04e26fdc9b017f7 | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Sat Sep 11 13:48:45 2010 +0100 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Sat Sep 11 19:27:12 2010 +0100 |
tree | 49a0f42a99b4b72794bd2cbab78816595c88da25 | |
parent | 4ed765f966c8279acc6f6bc1a5dcb0424d074b40 [diff] |
drm/i915: Use macros to switch between equivalent pipe registers The purpose is to make the code much easier to read and therefore reduce the possibility for bugs. A side effect is that it also makes it much easier for the compiler, reducing the object size by 4k -- from just a few functions! Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>