commit | 0d925ea02310fa5b99988bfe7942aa010f2a4723 | [log] [tgz] |
---|---|---|
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | Wed Nov 04 23:20:11 2015 +0200 |
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | Wed Nov 18 14:35:39 2015 +0200 |
tree | 2926215ad6e8cbbfbd1e7029a9bc415ca8c90c07 | |
parent | 35dc3f97a69bb344768c6a2f47da2be46b11645a [diff] |
drm/i915: Wrap context LRI init in a macro We set up a load of LRIs in the logical ring context. Wrap that stuff in a macro to avoid typos with position of each reg/value pair in the context. This also makes it easier to make the register defines type safe. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1446672017-24497-24-git-send-email-ville.syrjala@linux.intel.com Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>