]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gvt: add the missing mdev attribute "name"
authorZhi Wang <zhi.wang.linux@gmail.com>
Tue, 22 Feb 2022 15:05:32 +0000 (10:05 -0500)
committerZhi Wang <zhi.a.wang@intel.com>
Mon, 7 Mar 2022 17:21:58 +0000 (12:21 -0500)
commit366d1241ce7ed00194bf08438bf1e27d8c8b7974
tree574d0fd24f0aac537389476832e6802bcf224656
parent778323542c19f7b64ca4e0944c97c55bcb2bf3b1
drm/i915/gvt: add the missing mdev attribute "name"

The mdev attribute "name" is required by some middle software, e.g.
KubeVirt, an open source SW that manages VM on Kubernetes cluster uses
the mdev sysfs directory/file structure to discover mediated device in
nodes in the cluster.

v2:

- Fix the missing defination in gvt_type_attrs. (Zhenyu)

Cc: Zhenyu Wang <zhenyuw@linux.intel.com>
Cc: Hui Chun Ong <hui.chun.ong@intel.com>
Cc: Terrence Xu <terrence.xu@intel.com>
Cc: Zhi Wang <zhi.a.wang@intel.com>
Signed-off-by: Zhi Wang <zhi.wang.linux@gmail.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20220222150532.9090-1-zhi.a.wang@intel.com
Reviewed-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/kvmgt.c