Re: [Intel-gfx] [PATCH V6 3/6] mdev: introduce device specific ops

2019-11-01 Thread Parav Pandit
> -Original Message- > From: Jason Wang > Sent: Wednesday, October 30, 2019 1:45 AM > To: k...@vger.kernel.org; linux-s...@vger.kernel.org; linux- > ker...@vger.kernel.org; dri-de...@lists.freedesktop.org; intel- > g...@lists.freedesktop.org; intel-gvt-...@lists.freedesktop.org; >

[Intel-gfx] [PATCH V6 3/6] mdev: introduce device specific ops

2019-10-30 Thread Jason Wang
Currently, except for the create and remove, the rest of mdev_parent_ops is designed for vfio-mdev driver only and may not help for kernel mdev driver. With the help of class id, this patch introduces device specific callbacks inside mdev_device structure. This allows different set of callback to