]> git.baikalelectronics.ru Git - kernel.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>
Wed, 20 Feb 2013 00:33:47 +0000 (01:33 +0100)
commit967b4459230f66623e753f866eeea9faacd0cfab
tree083120dbc403f39b1bb2be61d91147a1eb952370
parent9684453dfb20e4113a265d729967c9b87f38a017
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