]> 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)
commit44577e6c3f0aa6f3e9dbe63c4eb32824d16fde2b
tree2b9646e582f2ca9ec5627d396f118ffe52e40acd
parenta2bac7f258b6ed8b5e5ef7e97751865949c359e1
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