diff options
author | Ingo Molnar <mingo@kernel.org> | 2017-11-14 01:21:44 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-11-14 01:21:44 -0500 |
commit | 050ab10a645097e47c01cfab3ccf24167e9b266b (patch) | |
tree | 686b17c63933f187305a87fba696415dccd032ae /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
parent | 9eb719855f6c9b21eb5889d9ac2ca1c60527ad89 (diff) | |
parent | b29c6ef7bb1257853c1e31616d84f55e561cf631 (diff) |
Merge branch 'linus' into core/objtool, to pick up dependent commits
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c index 7171968f261e..6149a47fe63d 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |||
@@ -788,11 +788,11 @@ static int amdgpu_debugfs_gem_bo_info(int id, void *ptr, void *data) | |||
788 | seq_printf(m, "\t0x%08x: %12ld byte %s", | 788 | seq_printf(m, "\t0x%08x: %12ld byte %s", |
789 | id, amdgpu_bo_size(bo), placement); | 789 | id, amdgpu_bo_size(bo), placement); |
790 | 790 | ||
791 | offset = ACCESS_ONCE(bo->tbo.mem.start); | 791 | offset = READ_ONCE(bo->tbo.mem.start); |
792 | if (offset != AMDGPU_BO_INVALID_OFFSET) | 792 | if (offset != AMDGPU_BO_INVALID_OFFSET) |
793 | seq_printf(m, " @ 0x%010Lx", offset); | 793 | seq_printf(m, " @ 0x%010Lx", offset); |
794 | 794 | ||
795 | pin_count = ACCESS_ONCE(bo->pin_count); | 795 | pin_count = READ_ONCE(bo->pin_count); |
796 | if (pin_count) | 796 | if (pin_count) |
797 | seq_printf(m, " pin count %d", pin_count); | 797 | seq_printf(m, " pin count %d", pin_count); |
798 | seq_printf(m, "\n"); | 798 | seq_printf(m, "\n"); |