drm/radeon/kms: update display watermark calculations for DCE5

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
Alex Deucher 2011-01-06 21:19:13 -05:00 committed by Dave Airlie
parent 1fe183050f
commit 936b27cce8
1 changed files with 16 additions and 4 deletions

View File

@ -401,15 +401,27 @@ static u32 evergreen_line_buffer_adjust(struct radeon_device *rdev,
case 0: case 0:
case 4: case 4:
default: default:
if (ASIC_IS_DCE5(rdev))
return 4096 * 2;
else
return 3840 * 2; return 3840 * 2;
case 1: case 1:
case 5: case 5:
if (ASIC_IS_DCE5(rdev))
return 6144 * 2;
else
return 5760 * 2; return 5760 * 2;
case 2: case 2:
case 6: case 6:
if (ASIC_IS_DCE5(rdev))
return 8192 * 2;
else
return 7680 * 2; return 7680 * 2;
case 3: case 3:
case 7: case 7:
if (ASIC_IS_DCE5(rdev))
return 2048 * 2;
else
return 1920 * 2; return 1920 * 2;
} }
} }