]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon: add UVD->DPM helper function (v5)
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 5 Aug 2013 16:41:20 +0000 (12:41 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 30 Aug 2013 20:29:58 +0000 (16:29 -0400)
commitdd6a063ed8a7119cce318a92a424f54f0128cdd5
tree6deede3ed82696544b2efb177700d63b94dba4fa
parent2adc39f804617675dd592372360aa1a770d08a9d
drm/radeon: add UVD->DPM helper function (v5)

Add a helper function for counting the number of open stream handles.

v2: fix copy-pasta in comments and whitespace error
v3: make function static since it's only used in radeon_uvd.c
at the moment
v4: make non-static again for future changes
v5: make static again for new rework of dpm uvd changes

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_uvd.c