drm/i915/gvt: set default value to 0 for unhandled mmio regs
authorZhao Yan <yan.y.zhao@intel.com>
Tue, 21 Feb 2017 06:00:37 +0000 (14:00 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Thu, 23 Feb 2017 09:32:16 +0000 (17:32 +0800)
commitec162aa84c9057e196f3a844c0a8d569f5095e6c
tree3aec99279719c30872b6220f702cc7d584c8f9a1
parent187447a106fc9caca45f10413845678d3666556c
drm/i915/gvt: set default value to 0 for unhandled mmio regs

for a handled mmio reg,  its default value is read from hardware, while
for an unhandled mmio regs,  its default value would be random if not
explicitly set to 0

Signed-off-by: Zhao Yan <yan.y.zhao@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/firmware.c