drm/i915/gvt: Add mdev device attribute group
authorZhenyu Wang <zhenyuw@linux.intel.com>
Thu, 16 Mar 2017 10:06:39 +0000 (18:06 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Wed, 29 Mar 2017 07:28:51 +0000 (15:28 +0800)
commit7a7a65617b84912287ec4c6ed7b85f9418c7304b
treedf55e24e5c3ab75bb160288b71d1b7c5d924375c
parente2e02cbb5beb5f7bfdfd73558794e3949868267c
drm/i915/gvt: Add mdev device attribute group

This adds initial attribute group for mdev to hold vGPU related
for each mdev device, currently just vGPU id is shown.

v2: rename group name as "intel_vgpu"

Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
drivers/gpu/drm/i915/gvt/kvmgt.c