aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mm/backing-dev.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-07-13 16:28:15 +1000
committerDave Airlie <airlied@redhat.com>2011-07-25 12:27:05 +0100
commitf1bece7fde9820a99c14d4db46ef071000e4ba47 (patch)
tree31a7e243cd9bf1f3c4a81e49b40682e5bef2151c /mm/backing-dev.c
parentdrm/radeon: Fix the definition of RADEON_BUF_SWAP_32BIT (diff)
downloadwireguard-linux-f1bece7fde9820a99c14d4db46ef071000e4ba47.tar.xz
wireguard-linux-f1bece7fde9820a99c14d4db46ef071000e4ba47.zip
drm/radeon: ATOM Endian fix for atombios_crtc_program_pll()
v6 of the structure was programmed incorrectly: args.v6.ulCrtcPclkFreq.ulPixelClock = cpu_to_le32(clock / 10); ulPixelClock is a 24-bit bitfield. This statement would thus do a 32-bit swap of (clock / 10) and drop the top 8 bits which are ... the LSB. Not what we want. Instead use masks & shifts. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'mm/backing-dev.c')
0 files changed, 0 insertions, 0 deletions