OSDN Git Service

radeon/video: use the hw to initial clear the buffers
authorChristian König <christian.koenig@amd.com>
Thu, 11 Sep 2014 07:38:50 +0000 (09:38 +0200)
committerChristian König <christian.koenig@amd.com>
Thu, 11 Sep 2014 13:06:03 +0000 (15:06 +0200)
commit4dfdcdb4b394df72da769806a0b64025e475f8b3
tree36e16fdcd39b47d58c408011ea65c8d7d7e3e29d
parent4bc0059229f212e91ca266ef3f80b652b1cdcb86
radeon/video: use the hw to initial clear the buffers

Less CPU overhead and avoids contention over CPU accessible memory on startup.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/drivers/radeon/radeon_uvd.c
src/gallium/drivers/radeon/radeon_video.c
src/gallium/drivers/radeon/radeon_video.h