OSDN Git Service

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)
commit85a129ca8db375ce046faa34eb1387ea4247e268
tree6deede3ed82696544b2efb177700d63b94dba4fa
parent4f8629675800505c274bf7d17baefed197a76cd9
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