@@ -3467,21 +3467,6 @@ static bool cea_db_is_hdmi_vsdb(const u8 *db)
34673467 return hdmi_id == HDMI_IEEE_OUI ;
34683468}
34693469
3470- static bool cea_db_is_hdmi_hf_vsdb (const u8 * db )
3471- {
3472- int hdmi_id ;
3473-
3474- if (cea_db_tag (db ) != VENDOR_BLOCK )
3475- return false;
3476-
3477- if (cea_db_payload_len (db ) < 7 )
3478- return false;
3479-
3480- hdmi_id = db [1 ] | (db [2 ] << 8 ) | (db [3 ] << 16 );
3481-
3482- return hdmi_id == HDMI_IEEE_OUI_HF ;
3483- }
3484-
34853470static bool cea_db_is_hdmi_vdb420 (const u8 * db )
34863471{
34873472 if (cea_db_tag (db ) != VIDEO_CAPABILITY_BLOCK )
@@ -3648,36 +3633,6 @@ drm_parse_hdmi_vsdb_audio(struct drm_connector *connector, const u8 *db)
36483633 connector -> audio_latency [1 ]);
36493634}
36503635
3651- static void
3652- parse_hdmi_hf_vsdb (struct drm_connector * connector , const u8 * db )
3653- {
3654- u8 len = cea_db_payload_len (db );
3655-
3656- if (len < 7 )
3657- return ;
3658-
3659- if (db [4 ] != 1 )
3660- return ; /* invalid version */
3661-
3662- connector -> max_tmds_char = db [5 ] * 5 ;
3663- connector -> scdc_present = db [6 ] & (1 << 7 );
3664- connector -> rr_capable = db [6 ] & (1 << 6 );
3665- connector -> flags_3d = db [6 ] & 0x7 ;
3666- connector -> lte_340mcsc_scramble = db [6 ] & (1 << 3 );
3667-
3668- DRM_DEBUG_KMS ("HDMI v2: max TMDS clock %d, "
3669- "scdc %s, "
3670- "rr %s, "
3671- "3D flags 0x%x, "
3672- "scramble %s\n" ,
3673- connector -> max_tmds_char ,
3674- connector -> scdc_present ? "available" : "not available" ,
3675- connector -> rr_capable ? "capable" : "not capable" ,
3676- connector -> flags_3d ,
3677- connector -> lte_340mcsc_scramble ?
3678- "supported" : "not supported" );
3679- }
3680-
36813636static void
36823637monitor_name (struct detailed_timing * t , void * data )
36833638{
@@ -3769,9 +3724,6 @@ void drm_edid_to_eld(struct drm_connector *connector, struct edid *edid)
37693724 /* HDMI Vendor-Specific Data Block */
37703725 if (cea_db_is_hdmi_vsdb (db ))
37713726 drm_parse_hdmi_vsdb_audio (connector , db );
3772- /* HDMI Forum Vendor-Specific Data Block */
3773- else if (cea_db_is_hdmi_hf_vsdb (db ))
3774- parse_hdmi_hf_vsdb (connector , db );
37753727 break ;
37763728 default :
37773729 break ;
0 commit comments