/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
A D | gm200.c | 71 gm200_sor_hdmi_scdc(struct nvkm_ior *ior, u8 scdc) in gm200_sor_hdmi_scdc() argument 75 const u32 ctrl = scdc & 0x3; in gm200_sor_hdmi_scdc() 79 ior->tmds.high_speed = !!(scdc & 0x2); in gm200_sor_hdmi_scdc() 85 .scdc = gm200_sor_hdmi_scdc,
|
A D | ior.h | 68 void (*scdc)(struct nvkm_ior *, u8 scdc); member
|
A D | uoutp.c | 184 (hdmi_scdc && !ior->func->hdmi->scdc)) { in nvkm_uoutp_mthd_acquire_tmds() 190 if (ior->func->hdmi->scdc) in nvkm_uoutp_mthd_acquire_tmds() 191 ior->func->hdmi->scdc(ior, hdmi_scdc); in nvkm_uoutp_mthd_acquire_tmds()
|
A D | gv100.c | 178 .scdc = gm200_sor_hdmi_scdc,
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/include/nvif/ |
A D | outp.h | 23 bool hdmi, u8 max_ac_packet, u8 rekey, u8 scdc, bool hda);
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvif/ |
A D | outp.c | 167 bool hdmi, u8 max_ac_packet, u8 rekey, u8 scdc, bool hda) in nvif_outp_acquire_tmds() argument 176 args.tmds.hdmi_scdc = scdc; in nvif_outp_acquire_tmds()
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/dispnv50/ |
A D | disp.c | 744 u8 scdc = 0; in nv50_hdmi_enable() local 757 if (hdmi->scdc.scrambling.supported) { in nv50_hdmi_enable() 760 ret = drm_scdc_readb(nv_encoder->i2c, SCDC_TMDS_CONFIG, &scdc); in nv50_hdmi_enable() 766 scdc &= ~(SCDC_TMDS_BIT_CLOCK_RATIO_BY_40 | SCDC_SCRAMBLING_ENABLE); in nv50_hdmi_enable() 767 if (high_tmds_clock_ratio || hdmi->scdc.scrambling.low_rates) in nv50_hdmi_enable() 768 scdc |= SCDC_SCRAMBLING_ENABLE; in nv50_hdmi_enable() 770 scdc |= SCDC_TMDS_BIT_CLOCK_RATIO_BY_40; in nv50_hdmi_enable() 772 ret = drm_scdc_writeb(nv_encoder->i2c, SCDC_TMDS_CONFIG, scdc); in nv50_hdmi_enable() 775 scdc, ret); in nv50_hdmi_enable() 779 max_ac_packet, rekey, scdc, hda); in nv50_hdmi_enable()
|
/linux-6.3-rc2/drivers/gpu/drm/tegra/ |
A D | sor.c | 440 struct delayed_work scdc; member 2154 cancel_delayed_work_sync(&sor->scdc); in tegra_sor_hdmi_scdc_stop() 2181 struct tegra_sor *sor = container_of(work, struct tegra_sor, scdc.work); in tegra_sor_hdmi_scdc_work() 2189 schedule_delayed_work(&sor->scdc, msecs_to_jiffies(5000)); in tegra_sor_hdmi_scdc_work() 2194 struct drm_scdc *scdc = &sor->output.connector.display_info.hdmi.scdc; in tegra_sor_hdmi_scdc_start() local 2199 if (mode->clock >= 340000 && scdc->supported) { in tegra_sor_hdmi_scdc_start() 2200 schedule_delayed_work(&sor->scdc, msecs_to_jiffies(5000)); in tegra_sor_hdmi_scdc_start() 3007 INIT_DELAYED_WORK(&sor->scdc, tegra_sor_hdmi_scdc_work); in tegra_sor_hdmi_probe()
|
/linux-6.3-rc2/drivers/gpu/drm/meson/ |
A D | meson_encoder_hdmi.c | 122 bool is_hdmi2_sink = display_info->hdmi.scdc.supported; in meson_encoder_hdmi_mode_valid()
|
A D | meson_dw_hdmi.c | 372 bool is_hdmi2_sink = display->hdmi.scdc.supported; in dw_hdmi_phy_init()
|
/linux-6.3-rc2/drivers/gpu/drm/bridge/synopsys/ |
A D | dw-hdmi.c | 1393 if (!display->hdmi.scdc.supported || in dw_hdmi_support_scdc() 1394 !display->hdmi.scdc.scrambling.supported) in dw_hdmi_support_scdc() 1401 if (!display->hdmi.scdc.scrambling.low_rates && in dw_hdmi_support_scdc() 2035 hdmi_info->scdc.scrambling.low_rates)) ? in hdmi_av_composer() 2103 hdmi_info->scdc.scrambling.low_rates) { in hdmi_av_composer() 2668 bool is_hdmi2_sink = info->hdmi.scdc.supported || in dw_hdmi_bridge_atomic_get_output_bus_fmts()
|
/linux-6.3-rc2/drivers/gpu/drm/i915/display/ |
A D | intel_hdmi.c | 2251 struct drm_scdc *scdc = &connector->display_info.hdmi.scdc; in intel_hdmi_compute_config() local 2305 if (scdc->scrambling.supported && DISPLAY_VER(dev_priv) >= 10) { in intel_hdmi_compute_config() 2306 if (scdc->scrambling.low_rates) in intel_hdmi_compute_config() 2648 &connector->display_info.hdmi.scdc.scrambling; in intel_hdmi_handle_sink_scrambling()
|
/linux-6.3-rc2/include/drm/ |
A D | drm_connector.h | 289 struct drm_scdc scdc; member
|
/linux-6.3-rc2/drivers/gpu/drm/ |
A D | drm_edid.c | 6041 hdmi->scdc.supported = true; in drm_parse_hdmi_forum_scds() 6043 hdmi->scdc.read_request = true; in drm_parse_hdmi_forum_scds() 6056 struct drm_scdc *scdc = &hdmi->scdc; in drm_parse_hdmi_forum_scds() local 6065 if (scdc->supported) { in drm_parse_hdmi_forum_scds() 6066 scdc->scrambling.supported = true; in drm_parse_hdmi_forum_scds() 6070 scdc->scrambling.low_rates = true; in drm_parse_hdmi_forum_scds() 6924 return connector->display_info.hdmi.scdc.supported || in is_hdmi2_sink()
|
/linux-6.3-rc2/Documentation/gpu/ |
A D | drm-kms-helpers.rst | 370 :doc: scdc helpers
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/ |
A D | nouveau_connector.c | 1028 info->hdmi.scdc.scrambling.supported ? in get_tmds_link_bandwidth()
|
/linux-6.3-rc2/drivers/gpu/drm/vc4/ |
A D | vc4_hdmi.c | 140 if (!display->hdmi.scdc.supported || in vc4_hdmi_supports_scrambling() 141 !display->hdmi.scdc.scrambling.supported) in vc4_hdmi_supports_scrambling()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/amdgpu_dm/ |
A D | amdgpu_dm.c | 5965 drm_connector->display_info.hdmi.scdc.scrambling.low_rates; in create_stream_for_sink()
|