mithro / HDMI2USB-litex-firmware-old

Opsis SoC based on LiteX
BSD 2-Clause "Simplified" License
1 stars 6 forks source link

Rework underflow stuff so it is part of hdmi_out modules and notifies even when status not showing... #33

Open mithro opened 7 years ago

mithro commented 7 years ago
        hdmi_out0_core_underflow_enable_write(1);
        hdmi_out0_core_underflow_update_write(1);
        underflows = hdmi_out0_core_underflow_counter_read();
        wprintf(
            "%dx%d@" REFRESH_RATE_PRINTF "Hz %s (uf:%d), ",
            processor_h_active,
            processor_v_active,
            REFRESH_RATE_PRINTF_ARGS(processor_refresh),
            processor_get_source_name(processor_hdmi_out0_source),
            underflows);
        hdmi_out0_core_underflow_enable_write(0);
        hdmi_out0_core_underflow_enable_write(1);