Re: [PATCH 2/2] drm/i915: Parse max HDMI TMDS clock from VBT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting Ville Syrjala (2017-10-26 16:14:05)
> From: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx>
> 
> Starting from version 204 VBT can specify the max TMDS clock we are
> allowed to use with HDMI ports. Parse that information and take it
> into account when filtering modes and computing a crtc state.
>  
> +       if (bdb_version >= 204) {
> +               int max_tmds_clock;
> +
> +               switch (child->hdmi_max_data_rate) {
> +               case 1:
> +                       max_tmds_clock = 297000;
> +                       break;
> +               case 2:
> +                       max_tmds_clock = 165000;
> +                       break;
> +               default:
> +                       max_tmds_clock = 0;

Is zero a valid value, as this will prevent us from using the output
at all?
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux