/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/hdmi/src/mkp/ |
H A D | drv_hdmi_common.c | 190 /* des: vic search */
195 hdmi_video_code_vic vic = 0;
in drv_hdmi_vic_search() local 199 vic = video_id->video_code;
in drv_hdmi_vic_search() 209 if (vic == HDMI_3840X2160P24_16_9 || vic == HDMI_3840X2160P25_16_9 ||
in drv_hdmi_vic_search() 210 vic == HDMI_3840X2160P30_16_9 || vic == HDMI_4096X2160P24_256_135) {
in drv_hdmi_vic_search() 211 hdmi_info("4k x 2k 2D vic:%u \n", vic);
in drv_hdmi_vic_search() 212 vic in drv_hdmi_vic_search() 219 drv_hdmi_vic_to_index(hi_u32 vic) drv_hdmi_vic_to_index() argument 233 drv_hdmi_video_timing_get(hdmi_video_code_vic vic, hdmi_picture_aspect aspect) drv_hdmi_video_timing_get() argument 249 drv_hdmi_vsif_video_timing_get(hdmi_vsif_vic vic) drv_hdmi_vsif_video_timing_get() argument 264 drv_hdmi_video_codes_4k_get(hi_u32 vic) drv_hdmi_video_codes_4k_get() argument 280 drv_hdmi_comm_format_param_get(hdmi_video_code_vic vic) drv_hdmi_comm_format_param_get() argument [all...] |
H A D | drv_hdmi_infoframe.c | 39 hdmi_video_timing drv_hdmi_video_timing_lookup(hdmi_video_code_vic vic, hdmi_picture_aspect aspect)
in drv_hdmi_video_timing_lookup() argument 41 return drv_hdmi_video_timing_get(vic, aspect);
in drv_hdmi_video_timing_lookup() 44 hdmi_video_timing drv_hdmi_vsif_video_timing_lookup(hdmi_vsif_vic vic)
in drv_hdmi_vsif_video_timing_lookup() argument 46 return drv_hdmi_vsif_video_timing_get(vic);
in drv_hdmi_vsif_video_timing_lookup() 91 /* Y2 = 1 or vic >= 128, version shall use 3 */
in avi_header_pack() 308 ptr[8] = vsif_content->vic;
in hdmi_vendor_specific_infoframe_pack() 556 hi_u32 vic, cnt;
in drv_hdmi_vendor_infoframe_send() local 574 vic = drv_hdmi_vic_search(vo_attr->video_timing, vo_attr->picture_aspect, HI_FALSE); // find the real vic
in drv_hdmi_vendor_infoframe_send() 575 if (((vic > in drv_hdmi_vendor_infoframe_send() [all...] |
H A D | drv_hdmi_infoframe.h | 657 enum hdmi_vic vic;
member 669 enum hdmi_vic vic;
member 795 hdmi_video_timing drv_hdmi_video_timing_lookup(hdmi_video_code_vic vic, hdmi_picture_aspect aspect);
797 hdmi_video_timing drv_hdmi_vsif_video_timing_lookup(hdmi_vsif_vic vic);
|
H A D | drv_hdmi_common.h | 1082 hdmi_video_code_vic equivalent_video_code; // real vic 1349 hi_u32 drv_hdmi_vic_to_index(hi_u32 vic); 1351 hdmi_video_timing drv_hdmi_video_timing_get(hdmi_video_code_vic vic, hdmi_picture_aspect aspect); 1353 hdmi_video_timing drv_hdmi_vsif_video_timing_get(hdmi_vsif_vic vic); 1357 hdmi_video_def *drv_hdmi_comm_format_param_get(hdmi_video_code_vic vic);
|
H A D | drv_hdmi_proc.c | 112 hi_u32 vic;
member 461 static hi_char *proc_vicformat(hi_u32 vic)
in proc_vicformat() argument 468 if ((fmt_param != HI_NULL) && (fmt_param->vic == vic)) {
in proc_vicformat() 790 hi_u32 vic, hdmi_vic;
in proc_vic_timing() local 799 vic = drv_hdmi_vic_search(index, vo_attr->picture_aspect, HI_FALSE); // search vic
in proc_vic_timing() 800 i = drv_hdmi_vic_to_index(vic);
in proc_vic_timing() 801 video = drv_hdmi_comm_format_param_get(vic);
in proc_vic_timing() 814 * find vic accordin in proc_vic_timing() [all...] |
H A D | drv_hdmi_edid.c | 914 edid_warn("VDB vic count over:%u !\n", HDMI_EDID_MAX_VIC_COUNT); in edid_video_db() 918 /* avoid invalid vic */ in edid_video_db() 921 edid_warn("VDB the %u vic: %u ! \n", i, vic_all); in edid_video_db() 1268 hi_u32 vic; in edid_y420_video_db() local 1271 vic = data[i]; in edid_y420_video_db() 1274 edid_warn("y420_video_db vic count over:%u !\n", HDMI_EDID_MAX_VIC_COUNT); in edid_y420_video_db() 1278 if ((vic == EDID_VIC_INVALID_ZERO) || ((vic >= EDID_VIC_INVALID_LOW) && (vic <= EDID_VIC_INVALID_HIGH))) { in edid_y420_video_db() 1280 edid_warn("y420_video_db the %u is invalid vic in edid_y420_video_db() [all...] |
H A D | drv_hdmi_frl.c | 140 hdmi_video_code_vic vic;
in frl_get_format_param() local 144 vic = drv_hdmi_vic_search(timing, aspect, _3d_enable);
in frl_get_format_param() 145 tmp_fmt = drv_hdmi_comm_format_param_get(vic);
in frl_get_format_param()
|
H A D | drv_hdmi_intf.c | 209 hdmi_video_code_vic vic;
in hdmi_ycbcr420_fmt_check() local 223 vic = drv_hdmi_vic_search(vo_attr->video_timing, vo_attr->picture_aspect, HI_FALSE);
in hdmi_ycbcr420_fmt_check() 224 if (vic != 0) {
in hdmi_ycbcr420_fmt_check() 228 if (vic == sink_cap->support_y420_format[i]) {
in hdmi_ycbcr420_fmt_check() 238 if (vic == sink_cap->only_support_y420_format[i]) {
in hdmi_ycbcr420_fmt_check() 244 hdmi_info("is Y420 support vic=%u :%s\n", vic, search_out ? "YES" : "NO");
in hdmi_ycbcr420_fmt_check() 3061 src_vsif_content->vic = dest_vsif_content->vic;
|
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/ |
H A D | drm_edid.c | 3298 static __always_inline const struct drm_display_mode *cea_mode_for_vic(u8 vic) in cea_mode_for_vic() argument 3303 if (vic >= 1 && vic < 1 + ARRAY_SIZE(edid_cea_modes_1)) { in cea_mode_for_vic() 3304 return &edid_cea_modes_1[vic - 1]; in cea_mode_for_vic() 3306 if (vic >= 0xc1 && vic < 0xc1 + ARRAY_SIZE(edid_cea_modes_193)) { in cea_mode_for_vic() 3307 return &edid_cea_modes_193[vic - 0xc1]; in cea_mode_for_vic() 3317 static u8 cea_next_vic(u8 vic) in cea_next_vic() argument 3319 if (++vic == 1 + ARRAY_SIZE(edid_cea_modes_1)) { in cea_next_vic() 3320 vic in cea_next_vic() 3351 cea_mode_alternate_timings(u8 vic, struct drm_display_mode *mode) cea_mode_alternate_timings() argument 3382 u8 vic; drm_match_cea_mode_clock_tolerance() local 3423 u8 vic; drm_match_cea_mode() local 3455 drm_valid_cea_vic(u8 vic) drm_valid_cea_vic() argument 3488 u8 vic; drm_match_hdmi_mode_clock_tolerance() local 3528 u8 vic; drm_match_hdmi_mode() local 3553 drm_valid_hdmi_vic(u8 vic) drm_valid_hdmi_vic() argument 3578 u8 vic = drm_match_cea_mode(mode); add_alternate_cea_modes() local 3652 u8 vic; drm_display_mode_from_vic_index() local 3690 u8 vic = svd_to_vic(svds[i]); do_y420vdb_modes() local 3721 u8 vic = svd_to_vic(svd); drm_add_cmdb_modes() local 3850 add_hdmi_mode(struct drm_connector *connector, u8 vic) add_hdmi_mode() argument 3960 u8 vic; do_hdmi_vsdb_modes() local 4306 u8 vic; fixup_detailed_cea_mode_clock() local 5704 u8 vic; drm_mode_cea_vic() local 5742 u8 vic, hdmi_vic; drm_hdmi_avi_infoframe_from_display_mode() local [all...] |
H A D | drm_modes.c | 1174 u8 vic = drm_match_cea_mode(mode); in drm_mode_validate_ycbcr420() local 1178 if (test_bit(vic, hdmi->y420_vdb_modes)) { in drm_mode_validate_ycbcr420() 2048 u8 vic = drm_match_cea_mode(mode); in drm_mode_is_420_only() local 2050 return test_bit(vic, display->hdmi.y420_vdb_modes); in drm_mode_is_420_only() 2067 u8 vic = drm_match_cea_mode(mode); in drm_mode_is_420_also() local 2069 return test_bit(vic, display->hdmi.y420_cmdb_modes); in drm_mode_is_420_also()
|
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/rockchip/ |
H A D | rk3066_hdmi.c | 24 int vic; /* The CEA Video ID (VIC) of the current drm display mode. */ member 212 if (hdmi->hdmi_data.vic == 0x2 || hdmi->hdmi_data.vic == 0x3) { in rk3066_hdmi_config_video_timing() 308 hdmi->hdmi_data.vic = drm_match_cea_mode(mode); in rk3066_hdmi_setup() 311 if (hdmi->hdmi_data.vic == 0x6 || hdmi->hdmi_data.vic == 0x7 || hdmi->hdmi_data.vic == 0x15 || in rk3066_hdmi_setup() 312 hdmi->hdmi_data.vic == 0x16 || hdmi->hdmi_data.vic == 0x2 || hdmi->hdmi_data.vic in rk3066_hdmi_setup() 460 u32 vic = drm_match_cea_mode(mode); rk3066_hdmi_connector_mode_valid() local [all...] |
H A D | inno_hdmi.c | 32 int vic; member 398 hdmi->hdmi_data.vic = drm_match_cea_mode(mode); in inno_hdmi_setup() 403 if ((hdmi->hdmi_data.vic == 0x6) || (hdmi->hdmi_data.vic == 0x7) || (hdmi->hdmi_data.vic == 0x15) || in inno_hdmi_setup() 404 (hdmi->hdmi_data.vic == 0x16) || (hdmi->hdmi_data.vic == 0x2) || (hdmi->hdmi_data.vic == 0x3) || in inno_hdmi_setup() 405 (hdmi->hdmi_data.vic == 0x11) || (hdmi->hdmi_data.vic in inno_hdmi_setup() [all...] |
H A D | dw-dp.c | 1287 u8 bpp = video->bpp, init_threshold, vic; in dw_dp_video_enable() local 1327 vic = drm_match_cea_mode(mode); in dw_dp_video_enable() 1328 if (vic == 0x5 || vic == 0x6 || vic == 0x7 || vic == 0xa || vic == 0xb || vic == 0x14 || vic == 0x15 || in dw_dp_video_enable() 1329 vic in dw_dp_video_enable() [all...] |
H A D | dw_hdmi-rockchip.c | 1698 u32 vic = drm_match_cea_mode(mode); in dw_hdmi_rockchip_select_output() local 1790 } else if ((vic == 0x6) || (vic == 0x7) || (vic == 0x15) || (vic == 0x16) || (vic == 0x2) || (vic == 0x3) || in dw_hdmi_rockchip_select_output() 1791 (vic == 0x11) || (vic == 0x12)) { in dw_hdmi_rockchip_select_output()
|
/device/soc/rockchip/rk3588/kernel/drivers/gpu/drm/rockchip/ |
H A D | dw-dp.c | 1294 u8 bpp = video->bpp, init_threshold, vic; in dw_dp_video_enable() local 1330 vic = drm_match_cea_mode(mode); in dw_dp_video_enable() 1331 if (vic == 5 || vic == 6 || vic == 7 || in dw_dp_video_enable() 1332 vic == 10 || vic == 11 || vic == 20 || in dw_dp_video_enable() 1333 vic == 21 || vic in dw_dp_video_enable() [all...] |
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/bridge/analogix/ |
H A D | analogix_dp_core.c | 1553 int vic; in analogix_dp_bridge_mode_set() local 1566 vic = drm_match_cea_mode(mode); in analogix_dp_bridge_mode_set() 1567 if ((vic == 0x6) || (vic == 0x7) || (vic == 0x15) || (vic == 0x16) || (vic == 0x2) || \ in analogix_dp_bridge_mode_set() 1568 (vic == 0x3) || (vic == 0x11) || (vic in analogix_dp_bridge_mode_set() [all...] |
/device/soc/rockchip/common/vendor/drivers/gpu/drm/bridge/synopsys/ |
H A D | dw-hdmi-qp.c | 423 int vic;
member 1548 hdmi->vic = drm_match_cea_mode(mode);
in dw_hdmi_qp_setup() 1550 if (!hdmi->vic) {
in dw_hdmi_qp_setup() 1553 dev_dbg(hdmi->dev, "CEA mode used vic=%d\n", hdmi->vic);
in dw_hdmi_qp_setup() 1558 } else if ((hdmi->vic == 6) || (hdmi->vic == 7) || (hdmi->vic == 21) || (hdmi->vic == 22) || (hdmi->vic in dw_hdmi_qp_setup() [all...] |
/device/soc/rockchip/rk3588/kernel/drivers/gpu/drm/bridge/synopsys/ |
H A D | dw-hdmi-qp.c | 218 int vic; member 1390 hdmi->vic = drm_match_cea_mode(mode); in dw_hdmi_qp_setup() 1391 if (!hdmi->vic) in dw_hdmi_qp_setup() 1394 dev_dbg(hdmi->dev, "CEA mode used vic=%d\n", hdmi->vic); in dw_hdmi_qp_setup() 1399 else if ((hdmi->vic == 6) || (hdmi->vic == 7) || in dw_hdmi_qp_setup() 1400 (hdmi->vic == 21) || (hdmi->vic == 22) || in dw_hdmi_qp_setup() 1401 (hdmi->vic in dw_hdmi_qp_setup() [all...] |
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/bridge/synopsys/ |
H A D | dw-hdmi.c | 451 int vic; member 2430 if (hdmi->vic == 0x27) { in hdmi_av_composer() 2647 hdmi->vic = drm_match_cea_mode(mode); in dw_hdmi_setup() 2649 if (!hdmi->vic) { in dw_hdmi_setup() 2652 dev_dbg(hdmi->dev, "CEA mode used vic=%d\n", hdmi->vic); in dw_hdmi_setup() 2657 } else if ((hdmi->vic == 0x6) || (hdmi->vic == 0x7) || (hdmi->vic == 0x15) || (hdmi->vic in dw_hdmi_setup() [all...] |