search for: nv_call

Displaying 7 results from an estimated 7 matches for "nv_call".

Did you mean: tv_call
2013 Aug 27
0
[PATCH] drm/nv31-nv43/mpeg: inst not available on pre-nv44
The inst variable (and thus engctx) will not be properly populated for pre-NV44 cards. The dma setter method didn't need it anyways, so call it directly instead of the nv_call indirection. Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu> --- Tested on NV42. Ben, I'm going to guess that you hate this patch, since it gets rid of the beautiful nv_call stuff. However I wasn't sure how to make it work without doing that. Also worth noting that playing back...
2014 May 04
2
[PATCH] drm/nouveau/dp: restore DP suspend/resume functionality
...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_display.c b/drivers/gpu/drm/nouveau/nv50_display.c index 58af547..98fd94d 100644 --- a/drivers/gp...
2014 May 05
1
[PATCH] drm/nouveau/dp: restore DP suspend/resume functionality
...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_display.c b/drivers/gpu/drm/no...
2014 May 04
0
[PATCH] drm/nouveau/dp: restore DP suspend/resume functionality
...> + > + 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_display.c b/drivers/gpu/drm/nouveau/nv50_display.c &gt...
2015 Feb 26
0
[PATCH] gr/gf100: Clear notify interrupt
...+ if (stat & 0x00000001) { + /* + * notifier interrupt, only needed for cyclestats + * can be safely ignored + */ + nv_wr32(priv, 0x400100, 0x00000001); + stat &= ~0x00000001; + } + if (stat & 0x00000010) { handle = nvkm_handle_get_class(engctx, class); if (!handle || nv_call(handle->object, mthd, data)) { -- 2.3.0
2013 Sep 08
5
[PATCH 1/5] drm/nv31/mpeg: no need to set compat mode differently for nv44 gr
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu> --- drivers/gpu/drm/nouveau/core/engine/mpeg/nv31.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/gpu/drm/nouveau/core/engine/mpeg/nv31.c b/drivers/gpu/drm/nouveau/core/engine/mpeg/nv31.c index c190043..5c54aa1 100644 --- a/drivers/gpu/drm/nouveau/core/engine/mpeg/nv31.c +++
2013 Sep 05
6
[PATCH 1/7] drm/nouveau: remove prototype for non-existent nouveau_connector_bpp
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu> --- drivers/gpu/drm/nouveau/nouveau_connector.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nouveau_connector.h b/drivers/gpu/drm/nouveau/nouveau_connector.h index 6e399aa..4cefce3 100644 --- a/drivers/gpu/drm/nouveau/nouveau_connector.h +++ b/drivers/gpu/drm/nouveau/nouveau_connector.h @@ -107,7 +107,4