search for: pipe_config

Displaying 20 results from an estimated 40 matches for "pipe_config".

2018 Sep 18
0
[PATCH 4/6] drm/i915: Skip vcpi allocation for MSTB ports that are gone
....c index fcb9b87b9339..a366f32b048a 100644 --- a/drivers/gpu/drm/i915/intel_dp_mst.c +++ b/drivers/gpu/drm/i915/intel_dp_mst.c @@ -42,7 +42,7 @@ static bool intel_dp_mst_compute_config(struct intel_encoder *encoder, to_intel_connector(conn_state->connector); struct drm_atomic_state *state = pipe_config->base.state; int bpp; - int lane_count, slots; + int lane_count, slots = 0; const struct drm_display_mode *adjusted_mode = &pipe_config->base.adjusted_mode; int mst_pbn; bool reduce_m_n = drm_dp_has_quirk(&intel_dp->desc, @@ -76,11 +76,16 @@ static bool intel_dp_mst_compute...
2018 Sep 19
0
[PATCH v2 4/6] drm/i915: Skip vcpi allocation for MSTB ports that are gone
....c index fcb9b87b9339..a366f32b048a 100644 --- a/drivers/gpu/drm/i915/intel_dp_mst.c +++ b/drivers/gpu/drm/i915/intel_dp_mst.c @@ -42,7 +42,7 @@ static bool intel_dp_mst_compute_config(struct intel_encoder *encoder, to_intel_connector(conn_state->connector); struct drm_atomic_state *state = pipe_config->base.state; int bpp; - int lane_count, slots; + int lane_count, slots = 0; const struct drm_display_mode *adjusted_mode = &pipe_config->base.adjusted_mode; int mst_pbn; bool reduce_m_n = drm_dp_has_quirk(&intel_dp->desc, @@ -76,11 +76,16 @@ static bool intel_dp_mst_compute...
2018 Oct 05
0
[PATCH v4 4/5] drm/i915: Skip vcpi allocation for MSTB ports that are gone
....c index fcb9b87b9339..a366f32b048a 100644 --- a/drivers/gpu/drm/i915/intel_dp_mst.c +++ b/drivers/gpu/drm/i915/intel_dp_mst.c @@ -42,7 +42,7 @@ static bool intel_dp_mst_compute_config(struct intel_encoder *encoder, to_intel_connector(conn_state->connector); struct drm_atomic_state *state = pipe_config->base.state; int bpp; - int lane_count, slots; + int lane_count, slots = 0; const struct drm_display_mode *adjusted_mode = &pipe_config->base.adjusted_mode; int mst_pbn; bool reduce_m_n = drm_dp_has_quirk(&intel_dp->desc, @@ -76,11 +76,16 @@ static bool intel_dp_mst_compute...
2018 Oct 08
5
[PATCH v5 0/5] Fix legacy DPMS changes with MST
Latest version of https://patchwork.freedesktop.org/series/49878/ Lyude Paul (5): drm/atomic_helper: Disallow new modesets on unregistered connectors drm/nouveau: Fix nv50_mstc->best_encoder() drm/i915: Don't unset intel_connector->mst_port drm/i915: Skip vcpi allocation for MSTB ports that are gone drm/i915: Fix intel_dp_mst_best_encoder()
2018 Oct 08
5
[PATCH v6 0/5] Fix legacy DPMS changes with MST
Next version of https://patchwork.freedesktop.org/series/49878/ No functional changes, just a typo fix Lyude Paul (5): drm/atomic_helper: Disallow new modesets on unregistered connectors drm/nouveau: Fix nv50_mstc->best_encoder() drm/i915: Don't unset intel_connector->mst_port drm/i915: Skip vcpi allocation for MSTB ports that are gone drm/i915: Fix
2018 Oct 08
6
[PATCH v7 0/5] Fix legacy DPMS changes with MST
Next version of https://patchwork.freedesktop.org/series/49878/ Still no functional changes, just removing a duplicate s-b to make CI happy. Lyude Paul (5): drm/atomic_helper: Disallow new modesets on unregistered connectors drm/nouveau: Fix nv50_mstc->best_encoder() drm/i915: Don't unset intel_connector->mst_port drm/i915: Skip vcpi allocation for MSTB ports that are gone
2018 Oct 05
10
[PATCH v4 0/5] Fix legacy DPMS changes with MST
Next version of https://patchwork.freedesktop.org/series/49878/ . No changes, except that these patches are against master so hopefully intel's CI doesn't get confused this time. Lyude Paul (5): drm/atomic_helper: Disallow new modesets on unregistered connectors drm/nouveau: Fix nv50_mstc->best_encoder() drm/i915: Leave intel_conn->mst_port set, use mst_port_gone instead
2018 Dec 14
0
[WIP PATCH 13/15] drm/dp_mst: Start tracking per-port VCPI allocations
.../intel_dp_mst.c +++ b/drivers/gpu/drm/i915/intel_dp_mst.c @@ -41,8 +41,13 @@ static bool intel_dp_mst_compute_config(struct intel_encoder *encoder, struct drm_connector *connector = conn_state->connector; void *port = to_intel_connector(connector)->port; struct drm_atomic_state *state = pipe_config->base.state; + struct drm_crtc *crtc = pipe_config->base.crtc; + struct drm_crtc_state *old_crtc_state = + drm_atomic_get_old_crtc_state(state, crtc); + struct drm_crtc_state *new_crtc_state = &pipe_config->base; int bpp; - int lane_count, slots = 0; + int lane_count, slots = + to_...
2018 Nov 26
4
[PATCH v6 3/6] drm/dp_mst: Start tracking per-port VCPI allocations
...b/drivers/gpu/drm/i915/intel_dp_mst.c > @@ -41,8 +41,13 @@ static bool intel_dp_mst_compute_config(struct intel_encoder *encoder, > struct drm_connector *connector = conn_state->connector; > void *port = to_intel_connector(connector)->port; > struct drm_atomic_state *state = pipe_config->base.state; > + struct drm_crtc *crtc = pipe_config->base.crtc; > + struct drm_crtc_state *old_crtc_state = > + drm_atomic_get_old_crtc_state(state, crtc); > + struct drm_crtc_state *new_crtc_state = &pipe_config->base; > int bpp; > - int lane_count, slots = 0; &g...
2018 Nov 16
0
[PATCH v6 3/6] drm/dp_mst: Start tracking per-port VCPI allocations
.../intel_dp_mst.c +++ b/drivers/gpu/drm/i915/intel_dp_mst.c @@ -41,8 +41,13 @@ static bool intel_dp_mst_compute_config(struct intel_encoder *encoder, struct drm_connector *connector = conn_state->connector; void *port = to_intel_connector(connector)->port; struct drm_atomic_state *state = pipe_config->base.state; + struct drm_crtc *crtc = pipe_config->base.crtc; + struct drm_crtc_state *old_crtc_state = + drm_atomic_get_old_crtc_state(state, crtc); + struct drm_crtc_state *new_crtc_state = &pipe_config->base; int bpp; - int lane_count, slots = 0; + int lane_count, slots = + to_...
2018 Nov 29
1
[PATCH v6 3/6] drm/dp_mst: Start tracking per-port VCPI allocations
...gt; > > > intel_encoder *encoder, > > > > > > > struct drm_connector *connector = conn_state->connector; > > > > > > > void *port = to_intel_connector(connector)->port; > > > > > > > struct drm_atomic_state *state = pipe_config->base.state; > > > > > > > + struct drm_crtc *crtc = pipe_config->base.crtc; > > > > > > > + struct drm_crtc_state *old_crtc_state = > > > > > > > + drm_atomic_get_old_crtc_state(state, crtc); > > > > > > > +...
2018 Nov 28
3
[PATCH v6 3/6] drm/dp_mst: Start tracking per-port VCPI allocations
...t_compute_config(struct > > > > > intel_encoder *encoder, > > > > > struct drm_connector *connector = conn_state->connector; > > > > > void *port = to_intel_connector(connector)->port; > > > > > struct drm_atomic_state *state = pipe_config->base.state; > > > > > + struct drm_crtc *crtc = pipe_config->base.crtc; > > > > > + struct drm_crtc_state *old_crtc_state = > > > > > + drm_atomic_get_old_crtc_state(state, crtc); > > > > > + struct drm_crtc_state *new_crtc_state =...
2018 Nov 27
2
[PATCH v6 3/6] drm/dp_mst: Start tracking per-port VCPI allocations
...-41,8 +41,13 @@ static bool intel_dp_mst_compute_config(struct > > > intel_encoder *encoder, > > > struct drm_connector *connector = conn_state->connector; > > > void *port = to_intel_connector(connector)->port; > > > struct drm_atomic_state *state = pipe_config->base.state; > > > + struct drm_crtc *crtc = pipe_config->base.crtc; > > > + struct drm_crtc_state *old_crtc_state = > > > + drm_atomic_get_old_crtc_state(state, crtc); > > > + struct drm_crtc_state *new_crtc_state = &pipe_config->base; > > &g...
2018 Oct 04
5
[PATCH v3 0/5] Fix legacy DPMS changes with MST
Next version of https://patchwork.freedesktop.org/series/49877/ This fixes some rather silly bugs regarding DPMS On->Off changes failing for connectors which were just recently destroyed. Lyude Paul (5): drm/atomic_helper: Disallow new modesets on unregistered connectors drm/nouveau: Fix nv50_mstc->best_encoder() drm/i915: Leave intel_conn->mst_port set, use mst_port_gone instead
2018 Nov 26
0
[PATCH v6 3/6] drm/dp_mst: Start tracking per-port VCPI allocations
...p_mst.c > > @@ -41,8 +41,13 @@ static bool intel_dp_mst_compute_config(struct > > intel_encoder *encoder, > > struct drm_connector *connector = conn_state->connector; > > void *port = to_intel_connector(connector)->port; > > struct drm_atomic_state *state = pipe_config->base.state; > > + struct drm_crtc *crtc = pipe_config->base.crtc; > > + struct drm_crtc_state *old_crtc_state = > > + drm_atomic_get_old_crtc_state(state, crtc); > > + struct drm_crtc_state *new_crtc_state = &pipe_config->base; > > int bpp; > > -...
2018 Nov 26
0
[PATCH v6 3/6] drm/dp_mst: Start tracking per-port VCPI allocations
...15/intel_dp_mst.c > > @@ -41,8 +41,13 @@ static bool intel_dp_mst_compute_config(struct intel_encoder *encoder, > > struct drm_connector *connector = conn_state->connector; > > void *port = to_intel_connector(connector)->port; > > struct drm_atomic_state *state = pipe_config->base.state; > > + struct drm_crtc *crtc = pipe_config->base.crtc; > > + struct drm_crtc_state *old_crtc_state = > > + drm_atomic_get_old_crtc_state(state, crtc); > > + struct drm_crtc_state *new_crtc_state = &pipe_config->base; > > int bpp; > > -...
2018 Nov 27
0
[PATCH v6 3/6] drm/dp_mst: Start tracking per-port VCPI allocations
...tic bool intel_dp_mst_compute_config(struct > > > > intel_encoder *encoder, > > > > struct drm_connector *connector = conn_state->connector; > > > > void *port = to_intel_connector(connector)->port; > > > > struct drm_atomic_state *state = pipe_config->base.state; > > > > + struct drm_crtc *crtc = pipe_config->base.crtc; > > > > + struct drm_crtc_state *old_crtc_state = > > > > + drm_atomic_get_old_crtc_state(state, crtc); > > > > + struct drm_crtc_state *new_crtc_state = &pipe_config-&g...
2018 Nov 16
8
[PATCH v6 0/6] drm/dp_mst: Improve VCPI helpers, use in nouveau
This patchset does some cleaning up of the atomic VCPI helpers for MST, and converts nouveau over to using them. I would have included amdgpu in this patch as well, but at the moment moving them over to the atomic helpers is nontrivial. [sorry for still not adding your R-Bs! I ended up needing to make a lot of changes to make it so we do actually kref() each port in the atomic state] Cc: Daniel
2018 Nov 28
0
[PATCH v6 3/6] drm/dp_mst: Start tracking per-port VCPI allocations
...uct > > > > > > intel_encoder *encoder, > > > > > > struct drm_connector *connector = conn_state->connector; > > > > > > void *port = to_intel_connector(connector)->port; > > > > > > struct drm_atomic_state *state = pipe_config->base.state; > > > > > > + struct drm_crtc *crtc = pipe_config->base.crtc; > > > > > > + struct drm_crtc_state *old_crtc_state = > > > > > > + drm_atomic_get_old_crtc_state(state, crtc); > > > > > > + struct drm_crtc_sta...
2019 Jan 08
0
[PATCH 1/4] drm/edid: Pass connector to AVI infoframe functions
...1adb54 100644 --- a/drivers/gpu/drm/i915/intel_sdvo.c +++ b/drivers/gpu/drm/i915/intel_sdvo.c @@ -981,7 +981,8 @@ static bool intel_sdvo_write_infoframe(struct intel_sdvo *intel_sdvo, } static bool intel_sdvo_set_avi_infoframe(struct intel_sdvo *intel_sdvo, - const struct intel_crtc_state *pipe_config) + const struct intel_crtc_state *pipe_config, + const struct drm_connector_state *conn_state) { uint8_t sdvo_data[HDMI_INFOFRAME_SIZE(AVI)]; union hdmi_infoframe frame; @@ -989,8 +990,8 @@ static bool intel_sdvo_set_avi_infoframe(struct intel_sdvo *intel_sdvo, ssize_t len; ret...