diff options
author | Nirmoy Das <nirmoy.das@amd.com> | 2021-02-15 16:12:44 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-02-18 16:43:09 -0500 |
commit | e7fa81bbc33e6e5bc9f94ca16add07db85fe08f4 (patch) | |
tree | 0b1587d25a05810ce2de14c17a56d6142ec72f14 /drivers/gpu/drm/radeon/radeon.h | |
parent | drm/radeon: Remove unused function pointer typedef radeon_packet3_check_t (diff) | |
download | linux-dev-e7fa81bbc33e6e5bc9f94ca16add07db85fe08f4.tar.xz linux-dev-e7fa81bbc33e6e5bc9f94ca16add07db85fe08f4.zip |
drm/radeon: add rdev in ring struct
Retrieving radeon device struct from ring struct will be
used in next patch where debugfs's show function can only pass
one private data pointer.
Signed-off-by: Nirmoy Das <nirmoy.das@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon.h')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h index f37794b0c3b3..f820b29127f8 100644 --- a/drivers/gpu/drm/radeon/radeon.h +++ b/drivers/gpu/drm/radeon/radeon.h @@ -828,6 +828,7 @@ struct radeon_ib { }; struct radeon_ring { + struct radeon_device *rdev; struct radeon_bo *ring_obj; volatile uint32_t *ring; unsigned rptr_offs; |