drm: add encoder free function

main
Dave Airlie 2008-05-30 12:29:45 +10:00
parent 1542492b79
commit 514147e3f3
2 changed files with 6 additions and 0 deletions

View File

@ -119,6 +119,11 @@ void drmModeFreeOutput(drmModeOutputPtr ptr)
}
void drmModeFreeEncoder(drmModeEncoderPtr ptr)
{
drmFree(ptr);
}
/*
* ModeSetting functions.
*/

View File

@ -165,6 +165,7 @@ extern void drmModeFreeResources( drmModeResPtr ptr );
extern void drmModeFreeFB( drmModeFBPtr ptr );
extern void drmModeFreeCrtc( drmModeCrtcPtr ptr );
extern void drmModeFreeOutput( drmModeOutputPtr ptr );
extern void drmModeFreeEncoder( drmModeEncoderPtr ptr );
/**
* Retrives all of the resources associated with a card.