summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/gvt/dmabuf.c
diff options
context:
space:
mode:
authorTina Zhang <tina.zhang@intel.com>2017-11-28 13:50:42 +0800
committerZhenyu Wang <zhenyuw@linux.intel.com>2017-12-04 11:24:34 +0800
commit4a136d590bd4c579bb3df154363a3e5b51cb36ce (patch)
tree36265edb32f01c02a0e5db4550c0707be4062cba /drivers/gpu/drm/i915/gvt/dmabuf.c
parentdfb6ae4e14bd6542ee6caa8f661f269c94e19a9f (diff)
drm/i915/gvt: Introduce KBL to dma-buf on Gvt-g
This patch introduces KBL platform to dma-buf on Gvt-g. Signed-off-by: Tina Zhang <tina.zhang@intel.com> Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/gvt/dmabuf.c')
-rw-r--r--drivers/gpu/drm/i915/gvt/dmabuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/gvt/dmabuf.c b/drivers/gpu/drm/i915/gvt/dmabuf.c
index 50215b26b6c8..5f39e90f961c 100644
--- a/drivers/gpu/drm/i915/gvt/dmabuf.c
+++ b/drivers/gpu/drm/i915/gvt/dmabuf.c
@@ -164,7 +164,7 @@ static struct drm_i915_gem_object *vgpu_create_gem(struct drm_device *dev,
obj->base.read_domains = I915_GEM_DOMAIN_GTT;
obj->base.write_domain = 0;
- if (IS_SKYLAKE(dev_priv)) {
+ if (IS_SKYLAKE(dev_priv) || IS_KABYLAKE(dev_priv)) {
unsigned int tiling_mode = 0;
unsigned int stride = 0;