OSDN Git Service

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 16:17:47 +0000 (09:17 -0700)
commit410653c1e46c54436a66ccf1216ffc7e8b3bd4dd
tree9a429ae6e0fb36a085f00a21c435226affdeb193
parentc7384791a785d8f356aa9de8038596cfd2ea87d3
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