'\" t .\" Title: drm_primary_helper_disable .\" Author: .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: DRM Core .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "DRM_PRIMARY_HELPER_D" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "DRM Core" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" drm_primary_helper_disable \- Helper for primary plane disable .SH "SYNOPSIS" .HP \w'int\ drm_primary_helper_disable('u .BI "int drm_primary_helper_disable(struct\ drm_plane\ *\ " "plane" ");" .SH "ARGUMENTS" .PP \fIplane\fR .RS 4 plane to disable .RE .SH "DESCRIPTION" .PP 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 \->disable hook\&. .PP 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\*(Aqll likely need to provide their own update handler as well to properly re\-enable a disabled primary plane)\&. .SH "RETURNS" .PP Unconditionally returns \-EINVAL\&. .SH "AUTHORS" .PP \fBJesse Barnes\fR <\&jesse.barnes@intel.com\&> .br Intel Corporation, .RS 4 Initial version .RE .PP \fBLaurent Pinchart\fR <\&laurent.pinchart@ideasonboard.com\&> .br Ideas on board SPRL, .RS 4 Driver internals .RE .PP \fBDaniel Vetter\fR <\&daniel.vetter@ffwll.ch\&> .br Intel Corporation, .RS 4 Contributions all over the place .RE .SH "COPYRIGHT" .br