This function was missing.
Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>main
parent
df497e9281
commit
a14c3dd0f9
|
@ -965,3 +965,12 @@ err_allocs:
|
||||||
|
|
||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void drmModeFreePlaneResources(drmModePlaneResPtr ptr)
|
||||||
|
{
|
||||||
|
if (!ptr)
|
||||||
|
return;
|
||||||
|
|
||||||
|
drmFree(ptr->planes);
|
||||||
|
drmFree(ptr);
|
||||||
|
}
|
||||||
|
|
|
@ -305,6 +305,7 @@ extern void drmModeFreeCrtc( drmModeCrtcPtr ptr );
|
||||||
extern void drmModeFreeConnector( drmModeConnectorPtr ptr );
|
extern void drmModeFreeConnector( drmModeConnectorPtr ptr );
|
||||||
extern void drmModeFreeEncoder( drmModeEncoderPtr ptr );
|
extern void drmModeFreeEncoder( drmModeEncoderPtr ptr );
|
||||||
extern void drmModeFreePlane( drmModePlanePtr ptr );
|
extern void drmModeFreePlane( drmModePlanePtr ptr );
|
||||||
|
extern void drmModeFreePlaneResources(drmModePlaneResPtr ptr);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Retrives all of the resources associated with a card.
|
* Retrives all of the resources associated with a card.
|
||||||
|
|
Loading…
Reference in New Issue