diff options
author | Yan Zhao | 2020-12-23 11:45:45 +0800 |
---|---|---|
committer | Zhenyu Wang | 2020-12-25 11:16:14 +0800 |
commit | 1a8811930c967e0fdfba17988b5b10e80c6ab9cb (patch) | |
tree | e844f999418bc66444e593dbc6281cea448220cd /drivers/gpu/drm/i915/gvt/gvt.h | |
parent | 70add39fad1cb86c9637fe59002a40668ac5628c (diff) |
drm/i915/gvt: make width of mmio_attribute bigger
8 bits are all used up. extend it to 16 bits to hold more flags.
Suggested-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Yan Zhao <yan.y.zhao@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20201223034545.17224-1-yan.y.zhao@intel.com
Reviewed-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/gvt/gvt.h')
-rw-r--r-- | drivers/gpu/drm/i915/gvt/gvt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/gvt/gvt.h b/drivers/gpu/drm/i915/gvt/gvt.h index 3e268e25bc7d..f82ad5a93720 100644 --- a/drivers/gpu/drm/i915/gvt/gvt.h +++ b/drivers/gpu/drm/i915/gvt/gvt.h @@ -244,7 +244,7 @@ struct gvt_mmio_block { #define INTEL_GVT_MMIO_HASH_BITS 11 struct intel_gvt_mmio { - u8 *mmio_attribute; + u16 *mmio_attribute; /* Register contains RO bits */ #define F_RO (1 << 0) /* Register contains graphics address */ |