drm/radeon: fix surface sync in fence on cayman (v2)
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 16 Jan 2014 23:02:59 +0000 (18:02 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Feb 2014 21:48:02 +0000 (13:48 -0800)
commit9fa65bf6c0e158b96a6b2a6e84dc631de6fed3c1
tree38b1ab8aeba712fc332988bec219dbe260fc3bc1
parent9b0b183e7cd9e9bbef81fe5e0bcc8e1345bd186a
drm/radeon: fix surface sync in fence on cayman (v2)

commit 10e9ffae463396c5a25fdfe8a48d7c98a87f6b85 upstream.

We need to set the engine bit to select the ME and
also set the full cache bit.  Should help stability
on TN and cayman.

V2: fix up surface sync in ib execute as well

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