diff options
author | Xiangliang Yu <[email protected]> | 2017-01-12 15:14:36 +0800 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2017-01-27 11:13:25 -0500 |
commit | 3149d9da12263b696d6123f90e44968ebde2115d (patch) | |
tree | d72701f0fec1914431e9a10adff0aaddefd533e7 /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | |
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 <[email protected]>
Signed-off-by: Monk Liu <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions