drm/radeon: update line buffer allocation for dce4.1/5
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Aug 2013 15:06:50 +0000 (11:06 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 1 Oct 2013 15:55:47 +0000 (08:55 -0700)
commitea0f1f563576a598112cd64308ddb461379d85a9
tree0d1d04fb6f9e965368f75af53068972eabe9d57b
parent3df0155c467f982d4c06078b74d042d7a5c2a743
drm/radeon: update line buffer allocation for dce4.1/5

commit 0b31e02363b0db4e7931561bc6c141436e729d9f 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 dce4.1/5 asics.

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/evergreen.c
drivers/gpu/drm/radeon/evergreend.h