diff options
author | Zhao Yan <yan.y.zhao@intel.com> | 2018-05-08 14:52:42 +0800 |
---|---|---|
committer | Zhi Wang <zhi.a.wang@intel.com> | 2018-05-14 05:18:55 +0800 |
commit | 0438a1059877396319b90da289f1473c9c973cd8 (patch) | |
tree | 84c68706670078b62f18066ffd78bd798a57b5a3 /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
parent | 3d8b9e258b9dbbeb0cdeb1cf5885e40d63d564ab (diff) |
drm/i915/gvt: do not return error on handling force_to_nonpriv registers
Return error will cause vm hang and enter failsafe mode.
However, we don't want that happen on detecting an wrong force_to_nonpriv
register write.
Therefore, we just omit the wrong write or patch it to default value.
v2: only return 0 on detecting lri write of registers outside whitelist,
but still return error on other error conditions. (zhenyu wang)
Signed-off-by: Zhao Yan <yan.y.zhao@intel.com>
Reviewed-by: Zhang Yulei <yulei.zhang@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
0 files changed, 0 insertions, 0 deletions