[PATCH] drm/i915/gvt: refactor the force-nonpriv handler
Zhenyu Wang
zhenyuw at linux.intel.com
Fri May 4 05:38:30 UTC 2018
On 2018.04.28 15:37:49 +0800, Zhao Yan wrote:
> Each ring has 12 force_to_nonpriv registers, the registers written to those
> registers will be converted to nonprivleged from privileged.
>
> This patch
> 1. adds force_to_nonpriv registers to handlers list for all rings
> 2. adds NOPID register of each ring to valid value of force_to_nonpriv
> registers, and regards it as default value
> 3. does not return error on detecting MMIO write of values outside
> whitelist, but just prevents it from writing into virtual reg and prints
> error message.
> 4. in cmdparser part, just converts invalid value to default value before
> sending down to hardware
>
please split these into seperated ones, don't mix different issues in one patch.
thanks
--
Open Source Technology Center, Intel ltd.
$gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gvt-dev/attachments/20180504/c77e545a/attachment.sig>
More information about the intel-gvt-dev
mailing list