drm/radeon: update line buffer allocation for dce6
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Aug 2013 15:15:43 +0000 (11:15 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 1 Oct 2013 16:17:47 +0000 (09:17 -0700)
commitc74a65651ddcef3f06e10364809452191ac6cba6
tree9abc12e443d967cef84255aed1edcbe48e9b3b1f
parent410653c1e46c54436a66ccf1216ffc7e8b3bd4dd
drm/radeon: update line buffer allocation for dce6

commit 290d24576ccf1aa0373d2185cedfe262d0d4952a upstream.

We need to allocate line buffer to each display when
setting up the watermarks.  Failure to do so can lead
to a blank screen.  This fixes blank screen problems
on dce6 asics.

Fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=64850

Based on an initial fix from:
Jay Cornwall <jay.cornwall@amd.com>

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/radeon/si.c
drivers/gpu/drm/radeon/sid.h