]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/i915/chv: Handle video DIP registers on CHV
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 9 Apr 2014 10:29:09 +0000 (13:29 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 27 May 2014 17:01:25 +0000 (19:01 +0200)
commit1928ec43f997fb8c303961e9848a02d77a5bae26
treef5553907690ad1769ef7981994a8b26e7b5e4fb8
parentf90f1ec4d4b4c60475a07d0805482aeae7212bb0
drm/i915/chv: Handle video DIP registers on CHV

The DIP registers are a mess on VLV and CHV. The register block on pipe
A is different than the register block on pipes B and C. In order to
handle that using the pipe offsets, we'd need a new pipe offset per
register, which seems wasteful. So instead just use the _PIPE3() macro
to handle these registers.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_reg.h