drm/radeon: add support for SET_APPEND_CNT packet3 (v2)
authorDave Airlie <airlied@redhat.com>
Wed, 6 Apr 2016 20:50:25 +0000 (06:50 +1000)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 May 2016 00:19:49 +0000 (20:19 -0400)
commit8c4f2bbd66784f00a509bf0787aa16b19ceaa6c7
tree1703f24e6b1a07b558e3cd5c65b8b0d341edb443
parent8b2cf4f5758f172d0980688383cea83241dc59e6
drm/radeon: add support for SET_APPEND_CNT packet3 (v2)

This adds support to the command parser for the set append counter
packet3, this is required to support atomic counters on
evergreen/cayman GPUs.

v2: fixup some of the hardcoded numbers with real register names
(Christian)

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/evergreen_cs.c
drivers/gpu/drm/radeon/evergreend.h
drivers/gpu/drm/radeon/radeon_drv.c