]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gvt: Make mmio_attribute as type u8 to save 1.5MB memory
authorChangbin Du <changbin.du@intel.com>
Tue, 6 Jun 2017 07:56:11 +0000 (15:56 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Thu, 8 Jun 2017 05:59:20 +0000 (13:59 +0800)
commit9d25e278e7068ba223eab467a276f7112970e513
tree6789d999aace0bf3b668c1513515e1e8a6765eaa
parente6d5bcee9ac862501461e1cb2ede9b1a35f03b38
drm/i915/gvt: Make mmio_attribute as type u8 to save 1.5MB memory

Type u8 is big enough to contain all MMIO attribute flags. As the
total MMIO size is 2MB so we saved 1.5MB memory.

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