drm/amd: Add CGS interfaces
authorChunming Zhou <David1.Zhou@amd.com>
Tue, 28 Jul 2015 18:20:03 +0000 (14:20 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 17 Aug 2015 20:49:52 +0000 (16:49 -0400)
commitd03846af92750f83d36ff2110a0cee444979b2a2
treeb598850bc172ca90736894874d1c8a16476e0934
parent21df89a5667de5fcd061753d3833e7dfcf5509d3
drm/amd: Add CGS interfaces

CGS (Common Graphics Services) is an AMD cross component
abstraction layer to designed to better encapsulate
specific IP block drivers so different teams can effectively
work on differnet IP block drivers independently. It provides
a common interface for things like accessing registers,
allocating GPU memory, and registering interrupt sources.
The plan is to eventually move more and more IP drivers to
this interface.  The first user is the ACP IP driver.

Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>
Signed-off-by: Chunming Zhou <David1.Zhou@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/Makefile
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c [new file with mode: 0644]
drivers/gpu/drm/amd/include/cgs_common.h [new file with mode: 0644]
drivers/gpu/drm/amd/include/cgs_linux.h [new file with mode: 0644]