|
@@ -616,6 +616,8 @@ struct drm_connector_funcs {
|
|
|
* cleaned up by calling the @atomic_destroy_state hook in this
|
|
|
* structure.
|
|
|
*
|
|
|
+ * This callback is mandatory for atomic drivers.
|
|
|
+ *
|
|
|
* Atomic drivers which don't subclass &struct drm_connector_state should use
|
|
|
* drm_atomic_helper_connector_duplicate_state(). Drivers that subclass the
|
|
|
* state structure to extend it with driver-private state should use
|
|
@@ -642,6 +644,8 @@ struct drm_connector_funcs {
|
|
|
*
|
|
|
* Destroy a state duplicated with @atomic_duplicate_state and release
|
|
|
* or unreference all resources it references
|
|
|
+ *
|
|
|
+ * This callback is mandatory for atomic drivers.
|
|
|
*/
|
|
|
void (*atomic_destroy_state)(struct drm_connector *connector,
|
|
|
struct drm_connector_state *state);
|