---
name: "drm_mode_crtc_set_gamma_size"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/drm_mode_crtc_set_gamma_size"
---

# drm\_mode\_crtc\_set\_gamma\_size(9)

set the gamma table size

## NAME

drm\_mode\_crtc\_set\_gamma\_size - set the gamma table size

## SYNOPSIS

**int drm\_mode\_crtc\_set\_gamma\_size(struct drm\_crtc \*** *crtc***, int** *gamma\_size***);**

## ARGUMENTS

*crtc*

CRTC to set the gamma table size for

*gamma\_size*

size of the gamma table

## DESCRIPTION

Drivers which support gamma tables should set this to the supported gamma table size when initializing the CRTC. Currently the drm core only supports a fixed gamma table size.

## RETURNS

Zero on success, errno on failure.

## AUTHORS

**Jesse Barnes** \<jesse.barnes@intel.com\>\
 Intel Corporation,

Initial version

**Laurent Pinchart** \<laurent.pinchart@ideasonboard.com\>\
 Ideas on board SPRL,

Driver internals

**Daniel Vetter** \<daniel.vetter@ffwll.ch\>\
 Intel Corporation,

Contributions all over the place

## COPYRIGHT
