]> git.baikalelectronics.ru Git - kernel.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)
commit0b422b2d01f9afd0527862df82b0e1537cbe93b2
tree2b9646e582f2ca9ec5627d396f118ffe52e40acd
parentcfa3228b7d3e5e2522250b954585a85388d61459
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