<dec f='src/src/sys/external/bsd/drm2/dist/include/drm/drm_plane_helper.h' l='41' type='int drm_primary_helper_disable(struct drm_plane * plane)'/>
<def f='src/src/sys/external/bsd/drm2/dist/drm/drm_plane_helper.c' l='221' ll='224' type='int drm_primary_helper_disable(struct drm_plane * plane)'/>
<use f='src/src/sys/external/bsd/drm2/dist/drm/drm_plane_helper.c' l='245'/>
<use f='src/src/sys/external/bsd/drm2/dist/drm/drm_plane_helper.c' l='245'/>
<doc f='src/src/sys/external/bsd/drm2/dist/drm/drm_plane_helper.c' l='202'>/**
 * drm_primary_helper_disable() - Helper for primary plane disable
 * @plane: plane to disable
 *
 * Provides a default plane disable handler for primary planes.  This is handler
 * is called in response to a userspace SetPlane operation on the plane with a
 * NULL framebuffer parameter.  It unconditionally fails the disable call with
 * -EINVAL the only way to disable the primary plane without driver support is
 * to disable the entier CRTC. Which does not match the plane -&gt;disable hook.
 *
 * Note that some hardware may be able to disable the primary plane without
 * disabling the whole CRTC.  Drivers for such hardware should provide their
 * own disable handler that disables just the primary plane (and they&apos;ll likely
 * need to provide their own update handler as well to properly re-enable a
 * disabled primary plane).
 *
 * RETURNS:
 * Unconditionally returns -EINVAL.
 */</doc>
