OSDN Git Service

drm/amd/amdgpu: Fix debugfs reg read/write address width
authorTom St Denis <tom.stdenis@amd.com>
Wed, 15 Mar 2017 09:34:25 +0000 (05:34 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 15 Mar 2017 20:21:34 +0000 (16:21 -0400)
commit801a6aa9a63c90724e8899982ad8c7f16be1e2cd
tree9eb1f732473ce61d4232586ed4eecf30e26422a6
parent18a8de1bc37e97dff1c96ee6cf49adbd02a0f775
drm/amd/amdgpu:  Fix debugfs reg read/write address width

The MMIO space is wider now so we mask the lower 22 bits
instead of 18.

Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c