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:41:00 +0000 (09:41 -0700)
commit3f570ac2effe8f7ffd7da5fb90685ebafcbb44a4
treee3b6a1cf8da1d8c9c1c734a279c69b01d64ae2fd
parent1f7b127114c018e6b02afde7f4b12404c0255e26
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