summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c
diff options
context:
space:
mode:
authorTom St Denis <tom.stdenis@amd.com>2016-05-04 21:28:35 +0300
committerAlex Deucher <alexander.deucher@amd.com>2016-05-11 19:31:26 +0300
commit88a907d67c03e80a71c49681bbccf3bfebe74ab4 (patch)
treeb9eaf3e2d814cd91b3bef3cda7879bbab05ea301 /drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c
parentcb9e59d7e999c68b79f23d6016b08fc5d0bb8a8d (diff)
downloadlinux-88a907d67c03e80a71c49681bbccf3bfebe74ab4.tar.xz
drm/amd/amdgpu: Add name field to amd_ip_funcs (v2)
Add name that we can print out in kernel messages to aid in debugging. v2: drop DAL changes for upstream Signed-off-by: Tom St Denis <tom.stdenis@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c b/drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c
index 27ca46d16bc4..6be2c0faa1bc 100644
--- a/drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c
+++ b/drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c
@@ -1230,6 +1230,7 @@ static int sdma_v2_4_set_powergating_state(void *handle,
}
const struct amd_ip_funcs sdma_v2_4_ip_funcs = {
+ .name = "sdma_v2_4",
.early_init = sdma_v2_4_early_init,
.late_init = NULL,
.sw_init = sdma_v2_4_sw_init,