summaryrefslogtreecommitdiff
path: root/src/radeon_video.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2012-06-15 17:26:50 +0100
committerDave Airlie <airlied@redhat.com>2012-06-15 17:29:14 +0100
commit85711a0a6a553232b603dbbb2b2d234c35391578 (patch)
tree1a3218f63dc3ba79776d48a0823bef20be929a1a /src/radeon_video.c
parent445ca1d66ce7b37762731fe67407cc1b978bb129 (diff)
radeon: drop legacy memory, merge into radeon video
This merges these two functions into textured video code. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/radeon_video.c')
-rw-r--r--src/radeon_video.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/src/radeon_video.c b/src/radeon_video.c
index 50a83552..2422779e 100644
--- a/src/radeon_video.c
+++ b/src/radeon_video.c
@@ -336,34 +336,6 @@ void RADEONInitVideo(ScreenPtr pScreen)
#endif
void
-RADEONFreeVideoMemory(ScrnInfoPtr pScrn, RADEONPortPrivPtr pPriv)
-{
- if (pPriv->video_memory != NULL) {
- radeon_legacy_free_memory(pScrn, pPriv->video_memory);
- pPriv->video_memory = NULL;
-
- if (pPriv->textured) {
- pPriv->src_bo[0] = NULL;
- radeon_legacy_free_memory(pScrn, pPriv->src_bo[1]);
- pPriv->src_bo[1] = NULL;
- }
- }
-}
-
-void
-RADEONStopVideo(ScrnInfoPtr pScrn, pointer data, Bool cleanup)
-{
- RADEONPortPrivPtr pPriv = (RADEONPortPrivPtr)data;
-
- if (pPriv->textured) {
- if (cleanup) {
- RADEONFreeVideoMemory(pScrn, pPriv);
- }
- return;
- }
-}
-
-void
RADEONQueryBestSize(
ScrnInfoPtr pScrn,
Bool motion,