| /xsrc/external/mit/xorg-server/dist/hw/xfree86/drivers/modesetting/ |
| drmmode_display.c | 71 static Bool ctm_is_identity(const struct drm_color_ctm *ctm) 73 const size_t matrix_len = sizeof(ctm->matrix) / sizeof(ctm->matrix[0]); 80 const uint64_t val = ctm->matrix[i]; 782 drmmode_set_ctm(xf86CrtcPtr crtc, const struct drm_color_ctm *ctm) 794 if (ctm && drmmode_crtc->use_gamma_lut && !ctm_is_identity(ctm)) { 795 ret = drmModeCreatePropertyBlob(drmmode->fd, ctm, sizeof(*ctm), &blob_id); 798 "Failed to create CTM property blob: %d\n", ret) 827 const struct drm_color_ctm *ctm = NULL; local [all...] |
| drmmode_display.h | 236 struct drm_color_ctm ctm; member in struct:__anon10027
|
| /xsrc/external/mit/xf86-video-amdgpu/dist/src/ |
| drmmode_display.h | 143 struct drm_color_ctm *ctm; member in struct:__anon6708
|
| drmmode_display.c | 737 "CTM", 975 /* CTM is fixed-point S31.32 format. */ 978 if (crtc && crtc->ctm) { 980 length = sizeof(*crtc->ctm) >> 2; 981 data = crtc->ctm; 1086 blob_data = (void**)&drmmode_crtc->ctm; 1171 blob_data = drmmode_crtc->ctm; 1840 /* Free LUTs and CTM */ 1843 free(drmmode_crtc->ctm); 1892 * the default gamma/degamma LUTs and CTM [all...] |
| /xsrc/external/mit/xrandr/dist/ |
| xrandr.c | 2277 double ctm[9]; local 2282 &ctm[0],&ctm[1],&ctm[2], 2283 &ctm[3],&ctm[4],&ctm[5], 2284 &ctm[6],&ctm[7],&ctm[8]) != 9 [all...] |