Home
last modified time | relevance | path

Searched refs:gamma_size (Results 1 - 5 of 5) sorted by relevance

/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/
H A Ddrm_color_mgmt.c213 * @gamma_size: size of the gamma table
222 int drm_mode_crtc_set_gamma_size(struct drm_crtc *crtc, int gamma_size) in drm_mode_crtc_set_gamma_size() argument
227 crtc->gamma_size = gamma_size; in drm_mode_crtc_set_gamma_size()
229 crtc->gamma_store = kcalloc(gamma_size, sizeof(uint16_t) * 0x3, GFP_KERNEL); in drm_mode_crtc_set_gamma_size()
231 crtc->gamma_size = 0; in drm_mode_crtc_set_gamma_size()
236 g_base = r_base + gamma_size; in drm_mode_crtc_set_gamma_size()
237 b_base = g_base + gamma_size; in drm_mode_crtc_set_gamma_size()
238 for (i = 0; i < gamma_size; i++) { in drm_mode_crtc_set_gamma_size()
285 if (crtc_lut->gamma_size ! in drm_mode_gamma_set_ioctl()
[all...]
/device/soc/rockchip/common/sdk_linux/include/drm/
H A Ddrm_crtc.h1056 * @gamma_size: Size of legacy gamma ramp reported to userspace. Set up
1059 uint32_t gamma_size; member
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/rockchip/
H A Drockchip_drm_vop.c4481 g_base = r_base + crtc->gamma_size; in vop_create_crtc()
4482 b_base = g_base + crtc->gamma_size; in vop_create_crtc()
H A Drockchip_drm_vop2.c8060 g_base = r_base + crtc->gamma_size; in vop2_gamma_init()
8061 b_base = g_base + crtc->gamma_size; in vop2_gamma_init()
/device/soc/rockchip/rk3588/kernel/drivers/gpu/drm/rockchip/
H A Drockchip_drm_vop2.c8163 g_base = r_base + crtc->gamma_size; in vop2_gamma_init()
8164 b_base = g_base + crtc->gamma_size; in vop2_gamma_init()

Completed in 33 milliseconds