Displaying 4 results from an estimated 4 matches for "nv50_crtc_set_raster_vblank_dmi".
2014 Oct 30
2
[PATCH] nv50/disp: Fix modeset on G94
...ivers/gpu/drm/nouveau/nv50_display.c b/drivers/gpu/drm/nouveau/nv50_display.c
index ae873d1..2f24a08 100644
--- a/drivers/gpu/drm/nouveau/nv50_display.c
+++ b/drivers/gpu/drm/nouveau/nv50_display.c
@@ -791,6 +791,23 @@ nv50_crtc_set_scale(struct nouveau_crtc *nv_crtc, bool update)
 }
 
 static int
+nv50_crtc_set_raster_vblank_dmi(struct nouveau_crtc *nv_crtc, u32 usec)
+{
+	struct nv50_mast *mast = nv50_mast(nv_crtc->base.dev);
+	u32 *push;
+
+	push = evo_wait(mast, 8);
+	if (!push)
+		return -ENOMEM;
+
+	evo_mthd(push, 0x0828 + (nv_crtc->index * 0x400), 1);
+	evo_data(push, usec);
+	evo_kick(push, mast);
+
+	return 0...
2014 Oct 30
2
[PATCH] nv50/disp: Fix modeset on G94
...splay.c
>> index ae873d1..2f24a08 100644
>> --- a/drivers/gpu/drm/nouveau/nv50_display.c
>> +++ b/drivers/gpu/drm/nouveau/nv50_display.c
>> @@ -791,6 +791,23 @@ nv50_crtc_set_scale(struct nouveau_crtc *nv_crtc, bool update)
>>  }
>>
>>  static int
>> +nv50_crtc_set_raster_vblank_dmi(struct nouveau_crtc *nv_crtc, u32 usec)
>
> What's "dmi"?
SetRasterVertBlankDmi is the name of method 0x828.  I presume it's
Display Memory Interface or something to that effect.
>
>> +{
>> +       struct nv50_mast *mast = nv50_mast(nv_crtc->base.dev);
>...
2014 Oct 30
0
[PATCH] nv50/disp: Fix modeset on G94
.../drivers/gpu/drm/nouveau/nv50_display.c
> index ae873d1..2f24a08 100644
> --- a/drivers/gpu/drm/nouveau/nv50_display.c
> +++ b/drivers/gpu/drm/nouveau/nv50_display.c
> @@ -791,6 +791,23 @@ nv50_crtc_set_scale(struct nouveau_crtc *nv_crtc, bool update)
>  }
>
>  static int
> +nv50_crtc_set_raster_vblank_dmi(struct nouveau_crtc *nv_crtc, u32 usec)
What's "dmi"?
> +{
> +       struct nv50_mast *mast = nv50_mast(nv_crtc->base.dev);
> +       u32 *push;
> +
> +       push = evo_wait(mast, 8);
Just needs to be 2, no?
> +       if (!push)
> +               return -E...
2014 Oct 31
0
[PATCH] nv50/disp: Fix modeset on G94
...100644
> >> --- a/drivers/gpu/drm/nouveau/nv50_display.c
> >> +++ b/drivers/gpu/drm/nouveau/nv50_display.c
> >> @@ -791,6 +791,23 @@ nv50_crtc_set_scale(struct nouveau_crtc *nv_crtc,
> bool update)
> >>  }
> >>
> >>  static int
> >> +nv50_crtc_set_raster_vblank_dmi(struct nouveau_crtc *nv_crtc, u32
> usec)
> >
> > What's "dmi"?
> SetRasterVertBlankDmi is the name of method 0x828.  I presume it's
> Display Memory Interface or something to that effect.
> 
> >
> >> +{
> >> +       struct nv50_mast...