aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
diff options
context:
space:
mode:
authorYan Zhao <[email protected]>2020-04-15 03:57:28 +0000
committerZhenyu Wang <[email protected]>2020-04-15 06:02:17 +0000
commit6c2f73e26a253ae827d9754572bfee4a912e559c (patch)
tree078b6e0f2e656adf850db965decc028f9658f9ea /drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
parenti915/gvt: remove unused xen bits (diff)
downloadkernel-6c2f73e26a253ae827d9754572bfee4a912e559c.tar.gz
kernel-6c2f73e26a253ae827d9754572bfee4a912e559c.zip
drm/i915/gvt: access shadow ctx via its virtual address directly
as shadow context is pinned in intel_vgpu_setup_submission() and unpinned in intel_vgpu_clean_submission(), its base virtual address of is safely obtained from lrc_reg_state. no need to call kmap()/kunmap() repeatedly. Signed-off-by: Yan Zhao <[email protected]> Reviewed-by: Zhenyu Wang <[email protected]> Signed-off-by: Zhenyu Wang <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c')
0 files changed, 0 insertions, 0 deletions