]> Pileus Git - ~andy/linux/commit
drm/radeon: set correct number of banks for CIK chips in DCE
authorMarek Olšák <marek.olsak@amd.com>
Mon, 23 Dec 2013 16:11:36 +0000 (17:11 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 23 Dec 2013 16:30:23 +0000 (11:30 -0500)
commite3ea94a60f12025a3a547964c31245e71ac8fa77
tree3f97bf852524fbacaef161f7d79ddbe7eae2002d
parent35a905282b20e556cd09f348f9c2bc8a22ea26d5
drm/radeon: set correct number of banks for CIK chips in DCE

We don't have the NUM_BANKS parameter, so we have to calculate it
from the other parameters. NUM_BANKS is not constant on CIK.

This fixes 2D tiling for the display engine on CIK.

Signed-off-by: Marek Olšák <marek.olsak@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/atombios_crtc.c