Home
last modified time | relevance | path

Searched refs:gamma_size (Results 1 – 7 of 7) sorted by relevance

/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/
Ddrm_color_mgmt.c222 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 != crtc->gamma_size) { in drm_mode_gamma_set_ioctl()
291 size = crtc_lut->gamma_size * (sizeof(uint16_t)); in drm_mode_gamma_set_ioctl()
310 ret = crtc->funcs->gamma_set(crtc, r_base, g_base, b_base, crtc->gamma_size, &ctx); in drm_mode_gamma_set_ioctl()
[all …]
/device/soc/rockchip/common/sdk_linux/include/drm/
Ddrm_crtc.h1059 uint32_t gamma_size; member
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/rockchip/
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()
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/board/isoftstone/yangfan/kernel/src/driv/gpu/rockchip/
Drockchip_drm_vop2.c8627 g_base = r_base + crtc->gamma_size; in vop2_gamma_init()
8628 b_base = g_base + crtc->gamma_size; in vop2_gamma_init()
/device/soc/rockchip/rk3588/kernel/drivers/gpu/drm/rockchip/
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()
/device/board/hihope/dayu210/kernel/kernel_patch/linux-5.10/dayu210_patch/
Dkernel.patch26939 - for (i = 0; i < crtc->gamma_size; i++) {
27324 - if (len != crtc->gamma_size) {
27326 - len, crtc->gamma_size);
28138 + g_base = r_base + crtc->gamma_size;
28139 + b_base = g_base + crtc->gamma_size;