]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/i915/gvt: Refine the ring mmio list definition
authorChangbin Du <changbin.du@intel.com>
Fri, 8 Dec 2017 06:56:20 +0000 (14:56 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Fri, 8 Dec 2017 08:18:07 +0000 (16:18 +0800)
commit4447f423ff0822f3eacc31bbaf445226fa312b84
tree2b9646e582f2ca9ec5627d396f118ffe52e40acd
parent8e60b7f195d2536b2f090ae97f74ed19a504d60c
drm/i915/gvt: Refine the ring mmio list definition

To improve the readability, let's remove the hard code for each mmio
definition. The raw offset remained as a comment, which give us an
offset based view.

This refine is to make it convenient for new platform enabling.

Signed-off-by: Changbin Du <changbin.du@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/render.c