]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon: rework ring function handling
authorChristian König <christian.koenig@amd.com>
Tue, 13 Aug 2013 09:56:50 +0000 (11:56 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 30 Aug 2013 20:30:39 +0000 (16:30 -0400)
commit3bd61c6f60b1ba10a67e2c92c9923d4b51933cd6
tree7882f906bd5bb67bd95088bc853117295a85a48d
parentfd11eb58c72e890279ef5b11e5dd742dedf58207
drm/radeon: rework ring function handling

Give the ring functions a separate structure and let the asic
structure point to the ring specific functions. This simplifies
the code and allows us to make changes at only one point.

No change in functionality.

Signed-off-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_asic.c
drivers/gpu/drm/radeon/radeon_cs.c