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:50:21 +0000 (13:50 -0800)
commita544fc55ab389380433fdb2d799dbcf155661ae4
tree4a8aa7c72a43ca26267981f9e43cb9906fb62b8d
parentdc4d6a8e0a1b8c89948b21820aa456e0d4bf6e4e
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