other versions
- jessie 3.16.56-1+deb8u1
DRM_MODE_VALIDATE_SI(9) | DRM Core | DRM_MODE_VALIDATE_SI(9) |
NAME¶
drm_mode_validate_size - make sure modes adhere to size constraintsSYNOPSIS¶
void
drm_mode_validate_size(struct drm_device * dev,
struct list_head * mode_list,
int maxX, int maxY);
ARGUMENTS¶
devDRM device
mode_list
list of modes to check
maxX
maximum width
maxY
maximum height
DESCRIPTION¶
This function is a helper which can be used to validate modes against size limitations of the DRM device/connector. If a mode is too big its status memeber is updated with the appropriate validation failure code. The list itself is not changed.AUTHORS¶
Jesse Barnes <jesse.barnes@intel.com>Initial version
Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Driver internals
Daniel Vetter <daniel.vetter@ffwll.ch>
Contributions all over the place
COPYRIGHT¶
May 2018 | Kernel Hackers Manual 3.16 |