search for: dp_set_power_d3

Displaying 9 results from an estimated 9 matches for "dp_set_power_d3".

2020 Nov 14
0
[PATCH 2/8] drm/nouveau/kms/nv50-: Remove (nv_encoder->crtc) checks in ->disable callbacks
...(nv_encoder->dcb->type == DCB_OUTPUT_DP) { + int ret = drm_dp_dpcd_readb(aux, DP_SET_POWER, &pwr); - if (nv_encoder->dcb->type == DCB_OUTPUT_DP) { - int ret = drm_dp_dpcd_readb(aux, DP_SET_POWER, &pwr); - - if (ret == 0) { - pwr &= ~DP_SET_POWER_MASK; - pwr |= DP_SET_POWER_D3; - drm_dp_dpcd_writeb(aux, DP_SET_POWER, pwr); - } + if (ret == 0) { + pwr &= ~DP_SET_POWER_MASK; + pwr |= DP_SET_POWER_D3; + drm_dp_dpcd_writeb(aux, DP_SET_POWER, pwr); } - - nv_encoder->update(nv_encoder, nv_crtc->index, NULL, 0, 0); - nv50_audio_disable(encoder, nv_cr...
2014 May 04
2
[PATCH] drm/nouveau/dp: restore DP suspend/resume functionality
...u_object *core) +{ + struct nouveau_encoder *nv_encoder = nouveau_encoder(encoder); + struct nouveau_i2c_port *auxch; + int or = nv_encoder->or; + u8 status; + + auxch = nv_encoder->i2c; + if (!auxch) + return; + + if (mode == DRM_MODE_DPMS_ON) + status = DP_SET_POWER_D0; + else + status = DP_SET_POWER_D3; + + nv_wraux(auxch, DP_SET_POWER, &status, 1); + + if (mode == DRM_MODE_DPMS_ON) + nv_call(core, NV94_DISP_SOR_DP_TRAIN + or, datarate); +} + static void nouveau_dp_probe_oui(struct drm_device *dev, struct nouveau_i2c_port *auxch, u8 *dpcd) diff --git a/drivers/gpu/drm/nouveau/nv50_...
2014 May 05
1
[PATCH] drm/nouveau/dp: restore DP suspend/resume functionality
...u8 status; >> + >> + auxch = nv_encoder->i2c; >> + if (!auxch) >> + return; >> + >> + if (mode == DRM_MODE_DPMS_ON) >> + status = DP_SET_POWER_D0; >> + else >> + status = DP_SET_POWER_D3; >> + >> + nv_wraux(auxch, DP_SET_POWER, &status, 1); >> + >> + if (mode == DRM_MODE_DPMS_ON) >> + nv_call(core, NV94_DISP_SOR_DP_TRAIN + or, datarate); >> +} >> + >> static void >> nouveau_dp_probe_oui(struct drm...
2014 May 04
0
[PATCH] drm/nouveau/dp: restore DP suspend/resume functionality
...int or = nv_encoder->or; > + u8 status; > + > + auxch = nv_encoder->i2c; > + if (!auxch) > + return; > + > + if (mode == DRM_MODE_DPMS_ON) > + status = DP_SET_POWER_D0; > + else > + status = DP_SET_POWER_D3; > + > + nv_wraux(auxch, DP_SET_POWER, &status, 1); > + > + if (mode == DRM_MODE_DPMS_ON) > + nv_call(core, NV94_DISP_SOR_DP_TRAIN + or, datarate); > +} > + > static void > nouveau_dp_probe_oui(struct drm_device *dev, struct nouveau_i2c_por...
2014 Mar 22
33
[Bug 76483] New: [NV50, bisected, RFC patch] xset dpms force {on, off} does not work over DP
https://bugs.freedesktop.org/show_bug.cgi?id=76483 Priority: medium Bug ID: 76483 Assignee: nouveau at lists.freedesktop.org Summary: [NV50, bisected, RFC patch] xset dpms force {on,off} does not work over DP QA Contact: xorg-team at lists.x.org Severity: major Classification: Unclassified OS:
2020 Aug 25
22
[RFC v4 00/20] drm/dp, i915, nouveau: Cleanup nouveau HPD and add DP features from i915
Most of the reason I'm asking for an RFC here is because this code pulls a lot of code out of i915 and into shared DP helpers. Anyway-nouveau's HPD related code has been collecting dust for a while. Other then the occasional runtime PM related and MST related fixes, we're missing a lot of nice things that have been added to DRM since this was originally written. Additionally, the code
2020 Aug 20
22
[RFC v2 00/20] drm/dp, i915, nouveau: Cleanup nouveau HPD and add DP features from i915
To start off: this patch series is less work to review then it looks - most (but not all) of the nouveau related work has already been reviewed elsewhere. Most of the reason I'm asking for an RFC here is because this code pulls a lot of code out of i915 and into shared DP helpers. Anyway-nouveau's HPD related code has been collecting dust for a while. Other then the occasional runtime PM
2020 Aug 26
23
[PATCH v5 00/20] drm/dp, i915, nouveau: Cleanup nouveau HPD and add DP features from i915
Most of the reason I'm asking for an RFC here is because this code pulls a lot of code out of i915 and into shared DP helpers. Anyway-nouveau's HPD related code has been collecting dust for a while. Other then the occasional runtime PM related and MST related fixes, we're missing a lot of nice things that have been added to DRM since this was originally written. Additionally, the code
2020 Aug 11
29
[RFC 00/20] drm/dp, i915, nouveau: Cleanup nouveau HPD and add DP features from i915
To start off: this patch series is less work to review then it looks - most (but not all) of the nouveau related work has already been reviewed elsewhere. Most of the reason I'm asking for an RFC here is because this code pulls a lot of code out of i915 and into shared DP helpers. Anyway-nouveau's HPD related code has been collecting dust for a while. Other then the occasional runtime PM