]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/radeon: Add a common function for DFS handling
authorSlava Grigorev <slava.grigorev@amd.com>
Tue, 26 Jan 2016 21:56:25 +0000 (16:56 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 Mar 2016 23:07:21 +0000 (15:07 -0800)
commitc38554e8df027f43558b59f6f1205c63b1fdff4a
tree6410a66455adbc6a61a4b1bcf79a3e3411f0b5ce
parent3bbb4a052d9a891e529c2a54f1782b03b3441aa2
drm/radeon: Add a common function for DFS handling

commit a64c9dab1c4d05c87ec8a1cb9b48915816462143 upstream.

Move encoding of DFS (digital frequency synthesizer) divider into a
separate function and improve calculation precision.

Signed-off-by: Slava Grigorev <slava.grigorev@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/radeon/dce6_afmt.c
drivers/gpu/drm/radeon/radeon_audio.c
drivers/gpu/drm/radeon/radeon_audio.h