Searched hist:a5f116a39542f8f1209e73d1ccd30f8a710f98d8 (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/drivers/video/drm/ |
| H A D | rockchip_display.c | a5f116a39542f8f1209e73d1ccd30f8a710f98d8 Fri Sep 24 06:20:23 UTC 2021 Damon Ding <damon.ding@rock-chips.com> drm/rockchip: vop: disable rb_swap by default
On RK3399 platform, R and B are swapped. If not set the default value, the bmp will display abnormally when calling function rockchip_vop_set_plane() each time. Related codes were showed as below:
/* * vop full need to treats rgb888 as bgr888 so we reverse the rb swap * to workaround */ if (crtc_state->format == ROCKCHIP_FMT_RGB888 && VOP_MAJOR(vop_data->version) == 3) crtc_state->rb_swap = !crtc_state->rb_swap;
Signed-off-by: Damon Ding <damon.ding@rock-chips.com> Change-Id: I450477017ae73c18dad806efec7a44ac3e49b094
|