diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2017-12-14 16:20:19 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-12-18 10:59:13 -0500 |
commit | 9c3f2b54746f764e1b695797c78bc46b8713f067 (patch) | |
tree | f5528a80d37a3def6dd4176bd1ad3ed2a406fb88 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
parent | 131b4b3686b701079e8fb82eb9384c8acdd3fc72 (diff) |
drm/amdgpu: rename amdgpu_program_register_sequence
add device for consistency with other functions in this file.
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c index 7b44ca29a2c8..05e5c6822f9c 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |||
@@ -342,7 +342,7 @@ static void amdgpu_device_vram_scratch_fini(struct amdgpu_device *adev) | |||
342 | } | 342 | } |
343 | 343 | ||
344 | /** | 344 | /** |
345 | * amdgpu_program_register_sequence - program an array of registers. | 345 | * amdgpu_device_program_register_sequence - program an array of registers. |
346 | * | 346 | * |
347 | * @adev: amdgpu_device pointer | 347 | * @adev: amdgpu_device pointer |
348 | * @registers: pointer to the register array | 348 | * @registers: pointer to the register array |
@@ -351,9 +351,9 @@ static void amdgpu_device_vram_scratch_fini(struct amdgpu_device *adev) | |||
351 | * Programs an array or registers with and and or masks. | 351 | * Programs an array or registers with and and or masks. |
352 | * This is a helper for setting golden registers. | 352 | * This is a helper for setting golden registers. |
353 | */ | 353 | */ |
354 | void amdgpu_program_register_sequence(struct amdgpu_device *adev, | 354 | void amdgpu_device_program_register_sequence(struct amdgpu_device *adev, |
355 | const u32 *registers, | 355 | const u32 *registers, |
356 | const u32 array_size) | 356 | const u32 array_size) |
357 | { | 357 | { |
358 | u32 tmp, reg, and_mask, or_mask; | 358 | u32 tmp, reg, and_mask, or_mask; |
359 | int i; | 359 | int i; |