commit | 3149d9da12263b696d6123f90e44968ebde2115d | [log] [tgz] |
---|---|---|
author | Xiangliang Yu <Xiangliang.Yu@amd.com> | Thu Jan 12 15:14:36 2017 +0800 |
committer | Alex Deucher <alexander.deucher@amd.com> | Fri Jan 27 11:13:25 2017 -0500 |
tree | d72701f0fec1914431e9a10adff0aaddefd533e7 | |
parent | ab71ac56f6d832443fcd9f884460263b2dc3ff6b [diff] |
drm/amdgpu: request/release full gpu access if device is vf For gpu vf device, first need to request full gpu access before accessing gpu registers, and release full gpu access after the access is done. Signed-off-by: Xiangliang Yu <Xiangliang.Yu@amd.com> Signed-off-by: Monk Liu <Monk.Liu@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>