/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_atomic.c | 120 struct intel_digital_connector_state *new_conn_state = in intel_digital_connector_atomic_check() local 139 if (new_conn_state->force_audio != old_conn_state->force_audio || in intel_digital_connector_atomic_check() 140 new_conn_state->broadcast_rgb != old_conn_state->broadcast_rgb || in intel_digital_connector_atomic_check() 141 new_conn_state->base.colorspace != old_conn_state->base.colorspace || in intel_digital_connector_atomic_check() 142 new_conn_state->base.picture_aspect_ratio != old_conn_state->base.picture_aspect_ratio || in intel_digital_connector_atomic_check() 143 new_conn_state->base.content_type != old_conn_state->base.content_type || in intel_digital_connector_atomic_check() 144 new_conn_state->base.scaling_mode != old_conn_state->base.scaling_mode || in intel_digital_connector_atomic_check() 145 new_conn_state->base.privacy_screen_sw_state != old_conn_state->base.privacy_screen_sw_state || in intel_digital_connector_atomic_check() 183 const struct drm_connector_state *old_conn_state, *new_conn_state; in intel_connector_needs_modeset() local 186 new_conn_state = drm_atomic_get_new_connector_state(&state->base, connector); in intel_connector_needs_modeset() [all …]
|
H A D | intel_pmdemand.c | 197 struct drm_connector_state *new_conn_state; in intel_pmdemand_update_active_non_tc_phys() local 202 old_conn_state, new_conn_state, i) { in intel_pmdemand_update_active_non_tc_phys() 213 new_conn_state, true, in intel_pmdemand_update_active_non_tc_phys() 234 struct drm_connector_state *new_conn_state; in intel_pmdemand_connector_needs_update() local 239 old_conn_state, new_conn_state, i) { in intel_pmdemand_connector_needs_update() 243 to_intel_encoder(new_conn_state->best_encoder); in intel_pmdemand_connector_needs_update()
|
H A D | intel_dp_tunnel.c | 548 const struct intel_digital_connector_state *new_conn_state = in intel_dp_tunnel_atomic_check_state() local 559 if (new_conn_state->base.crtc && in intel_dp_tunnel_atomic_check_state() 560 new_conn_state->base.crtc != old_conn_state->base.crtc) { in intel_dp_tunnel_atomic_check_state() 562 to_intel_crtc(new_conn_state->base.crtc)); in intel_dp_tunnel_atomic_check_state()
|
H A D | intel_dp_mst.c | 1977 struct drm_connector_state *new_conn_state; in get_connector_in_state_for_crtc() local 1982 old_conn_state, new_conn_state, i) { in get_connector_in_state_for_crtc() 1987 new_conn_state->crtc == &crtc->base) in get_connector_in_state_for_crtc()
|
H A D | intel_sdvo.c | 2517 struct drm_connector_state *new_conn_state = in intel_sdvo_atomic_check() local 2524 to_intel_sdvo_connector_state(new_conn_state); in intel_sdvo_atomic_check() 2526 if (new_conn_state->crtc && in intel_sdvo_atomic_check() 2528 memcmp(&old_conn_state->tv, &new_conn_state->tv, sizeof(old_conn_state->tv)))) { in intel_sdvo_atomic_check() 2531 new_conn_state->crtc); in intel_sdvo_atomic_check()
|
H A D | intel_dp.c | 3289 struct drm_connector_state *new_conn_state; in intel_dp_dsc_aux_ref_count() local 3301 old_conn_state, new_conn_state, i) { in intel_dp_dsc_aux_ref_count() 3312 (for_get_ref && !new_conn_state->crtc) || in intel_dp_dsc_aux_ref_count()
|
/linux/drivers/gpu/drm/ |
H A D | drm_atomic_helper.c | 108 struct drm_connector_state *new_conn_state; in handle_conflicting_encoders() local 120 for_each_new_connector_in_state(state, connector, new_conn_state, i) { in handle_conflicting_encoders() 124 if (!new_conn_state->crtc) in handle_conflicting_encoders() 185 new_conn_state = drm_atomic_get_connector_state(state, connector); in handle_conflicting_encoders() 186 if (IS_ERR(new_conn_state)) { in handle_conflicting_encoders() 187 ret = PTR_ERR(new_conn_state); in handle_conflicting_encoders() 194 new_conn_state->crtc->base.id, new_conn_state->crtc->name, in handle_conflicting_encoders() 197 crtc_state = drm_atomic_get_new_crtc_state(state, new_conn_state->crtc); in handle_conflicting_encoders() 199 ret = drm_atomic_set_crtc_for_connector(new_conn_state, NULL); in handle_conflicting_encoders() 422 struct drm_connector_state *new_conn_state; in mode_fixup() local [all …]
|
H A D | drm_atomic_state_helper.c | 590 struct drm_connector_state *new_conn_state = in drm_atomic_helper_connector_tv_check() local 595 crtc = new_conn_state->crtc; in drm_atomic_helper_connector_tv_check() 603 if (old_conn_state->tv.mode != new_conn_state->tv.mode) in drm_atomic_helper_connector_tv_check() 606 if (old_conn_state->tv.margins.left != new_conn_state->tv.margins.left || in drm_atomic_helper_connector_tv_check() 607 old_conn_state->tv.margins.right != new_conn_state->tv.margins.right || in drm_atomic_helper_connector_tv_check() 608 old_conn_state->tv.margins.top != new_conn_state->tv.margins.top || in drm_atomic_helper_connector_tv_check() 609 old_conn_state->tv.margins.bottom != new_conn_state->tv.margins.bottom || in drm_atomic_helper_connector_tv_check() 610 old_conn_state->tv.mode != new_conn_state->tv.mode || in drm_atomic_helper_connector_tv_check() 611 old_conn_state->tv.brightness != new_conn_state->tv.brightness || in drm_atomic_helper_connector_tv_check() 612 old_conn_state->tv.contrast != new_conn_state->tv.contrast || in drm_atomic_helper_connector_tv_check() [all …]
|
H A D | drm_atomic.c | 1582 struct drm_connector_state *new_conn_state; in update_output_state() local 1595 for_each_new_connector_in_state(state, connector, new_conn_state, i) { in update_output_state() 1596 if (new_conn_state->crtc == set->crtc) { in update_output_state() 1597 ret = drm_atomic_set_crtc_for_connector(new_conn_state, in update_output_state() 1603 new_conn_state->link_status = DRM_LINK_STATUS_GOOD; in update_output_state() 1609 new_conn_state = drm_atomic_get_connector_state(state, in update_output_state() 1611 if (IS_ERR(new_conn_state)) in update_output_state() 1612 return PTR_ERR(new_conn_state); in update_output_state() 1614 ret = drm_atomic_set_crtc_for_connector(new_conn_state, in update_output_state()
|
H A D | drm_atomic_uapi.c | 946 struct drm_connector_state *new_conn_state; in drm_atomic_connector_commit_dpms() local 974 for_each_new_connector_in_state(state, tmp_connector, new_conn_state, i) { in drm_atomic_connector_commit_dpms() 975 if (new_conn_state->crtc != crtc) in drm_atomic_connector_commit_dpms()
|
/linux/drivers/gpu/drm/tests/ |
H A D | drm_hdmi_state_helper_test.c | 241 struct drm_connector_state *new_conn_state; in drm_test_check_broadcast_rgb_crtc_mode_changed() local 270 new_conn_state = drm_atomic_get_connector_state(state, conn); in drm_test_check_broadcast_rgb_crtc_mode_changed() 271 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, new_conn_state); in drm_test_check_broadcast_rgb_crtc_mode_changed() 276 new_conn_state->hdmi.broadcast_rgb = DRM_HDMI_BROADCAST_RGB_FULL; in drm_test_check_broadcast_rgb_crtc_mode_changed() 280 new_conn_state->hdmi.broadcast_rgb); in drm_test_check_broadcast_rgb_crtc_mode_changed() 285 new_conn_state = drm_atomic_get_new_connector_state(state, conn); in drm_test_check_broadcast_rgb_crtc_mode_changed() 286 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, new_conn_state); in drm_test_check_broadcast_rgb_crtc_mode_changed() 287 KUNIT_EXPECT_EQ(test, new_conn_state->hdmi.broadcast_rgb, DRM_HDMI_BROADCAST_RGB_FULL); in drm_test_check_broadcast_rgb_crtc_mode_changed() 304 struct drm_connector_state *new_conn_state; in drm_test_check_broadcast_rgb_crtc_mode_not_changed() local 333 new_conn_state = drm_atomic_get_connector_state(state, conn); in drm_test_check_broadcast_rgb_crtc_mode_not_changed() [all …]
|
/linux/include/drm/display/ |
H A D | drm_hdmi_state_helper.h | 12 struct drm_connector_state *new_conn_state);
|
/linux/drivers/gpu/drm/rockchip/ |
H A D | inno_hdmi.c | 431 struct drm_connector_state *new_conn_state; in inno_hdmi_setup() local 434 new_conn_state = drm_atomic_get_new_connector_state(state, connector); in inno_hdmi_setup() 435 if (WARN_ON(!new_conn_state)) in inno_hdmi_setup() 438 new_crtc_state = drm_atomic_get_new_crtc_state(state, new_conn_state->crtc); in inno_hdmi_setup() 462 inno_hdmi_i2c_init(hdmi, new_conn_state->hdmi.tmds_char_rate); in inno_hdmi_setup() 468 inno_hdmi_power_up(hdmi, new_conn_state->hdmi.tmds_char_rate); in inno_hdmi_setup()
|
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_mst_types.c | 1127 struct drm_connector_state *new_conn_state; in compute_mst_dsc_configs_for_link() local 1151 new_conn_state = drm_atomic_get_new_connector_state(state, &aconnector->base); in compute_mst_dsc_configs_for_link() 1153 if (!new_conn_state) { in compute_mst_dsc_configs_for_link() 1307 struct drm_connector_state *new_conn_state; in is_dsc_need_re_compute() local 1326 new_conn_state = drm_atomic_get_new_connector_state(state, &aconnector->base); in is_dsc_need_re_compute() 1327 if (!new_conn_state) { in is_dsc_need_re_compute() 1333 if (IS_ERR(new_conn_state)) in is_dsc_need_re_compute() 1336 if (!new_conn_state->crtc) in is_dsc_need_re_compute() 1339 new_crtc_state = drm_atomic_get_new_crtc_state(state, new_conn_state->crtc); in is_dsc_need_re_compute()
|