]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/i915: create functions for the "unclaimed register" checks
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Mon, 18 Feb 2013 22:00:20 +0000 (19:00 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 19 Feb 2013 19:38:09 +0000 (20:38 +0100)
commit206750ed1cfebb703a20bdfcbc09907b3af2e171
tree0835a38885922e6b841a16c3f436abae24f21708
parent13087ff93ad79ac4a2d5e7297c55fe042723e244
drm/i915: create functions for the "unclaimed register" checks

This avoids polluting i915_write##x and also allows us to reuse code
on i915_read##x.

v2: Rebase
v3: Convert the macros to static functions

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.c