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:10:51 +0000 (09:10 -0700)
commitda2f15e84f3a463a2f643c0c9922126ebdc7233c
treeeb859a958d6c8590cef225c34abe6d106542ace2
parentbe70f1f28ecd59be723b3183539255944dad5df5
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