aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
diff options
context:
space:
mode:
authorPei Zhang <pei.zhang@intel.com>2017-12-11 17:15:02 +0800
committerZhenyu Wang <zhenyuw@linux.intel.com>2017-12-11 17:17:31 +0800
commiteb3f05171c2e84f0114403df0fea942479fdaa3e (patch)
tree2a8d60ccf48fd6a9ae2563e7f46bef6b2b6fe246 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
parent6ee942d5f7e3e630d3a2517e75969ce5d07c87d6 (diff)
drm/i915/gvt: refine function emulate_mmio_read/write
These 2 functions are coded by multiple person in multiple patches. The 'return' and 'goto err' are mix-used in same place, which cause the function looks disorder. Unify to use only 'goto' so that the gvt lock is acquired in one place and released in one place. Signed-off-by: Pei Zhang <pei.zhang@intel.com> Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions