]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu:impl RREG32 no kiq version
authorMonk Liu <Monk.Liu@amd.com>
Wed, 25 Jan 2017 07:07:40 +0000 (15:07 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Mar 2017 03:53:09 +0000 (23:53 -0400)
commit58e610064a2956490ac651ad733f82d041081d8e
treeef9d39c2c7799d9dabeac240e55622cc910b89aa
parentbc0cd92ccd4b47842d96aac96fb5f5e41b7c65aa
drm/amdgpu:impl RREG32 no kiq version

some registers are PF & VF copy, and we can safely use
mmio method to access them.

and sometime we are forbid to use kiq to access registers
for example in INTR context.

we need a MACRO that always disable KIQ for regs accessing

Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Xiangliang Yu <Xiangliang.Yu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c