Displaying 18 results from an estimated 18 matches for "vactive".
Did you mean:
active
2014 Sep 05
1
[PATCH 1/8] nv50/display: Set VBLANK time in modeset script
...rs/gpu/drm/nouveau/nv50_display.c
> @@ -1070,7 +1070,7 @@ nv50_crtc_mode_set(struct drm_crtc *crtc, struct drm_display_mode *umode,
> u32 vscan = (mode->flags & DRM_MODE_FLAG_DBLSCAN) ? 2 : 1;
> u32 hactive, hsynce, hbackp, hfrontp, hblanke, hblanks;
> u32 vactive, vsynce, vbackp, vfrontp, vblanke, vblanks;
> - u32 vblan2e = 0, vblan2s = 1;
> + u32 vblan2e = 0, vblan2s = 1, vblankus;
> u32 *push;
> int ret;
>
> @@ -1087,6 +1087,7 @@ nv50_crtc_mode_set(struct drm_crtc *crtc, struct drm_display_mode *umode,
>...
2014 Sep 04
0
[PATCH 1/8] nv50/display: Set VBLANK time in modeset script
...drm/nouveau/nv50_display.c
+++ b/drivers/gpu/drm/nouveau/nv50_display.c
@@ -1070,7 +1070,7 @@ nv50_crtc_mode_set(struct drm_crtc *crtc, struct drm_display_mode *umode,
u32 vscan = (mode->flags & DRM_MODE_FLAG_DBLSCAN) ? 2 : 1;
u32 hactive, hsynce, hbackp, hfrontp, hblanke, hblanks;
u32 vactive, vsynce, vbackp, vfrontp, vblanke, vblanks;
- u32 vblan2e = 0, vblan2s = 1;
+ u32 vblan2e = 0, vblan2s = 1, vblankus;
u32 *push;
int ret;
@@ -1087,6 +1087,7 @@ nv50_crtc_mode_set(struct drm_crtc *crtc, struct drm_display_mode *umode,
vblanke = vsynce + vbackp;
vfrontp = (mode->vsync_st...
2014 Sep 12
0
[PATCH 2/6] nv50/display: Set VBLANK time in modeset script
...drm/nouveau/nv50_display.c
+++ b/drivers/gpu/drm/nouveau/nv50_display.c
@@ -1066,7 +1066,7 @@ nv50_crtc_mode_set(struct drm_crtc *crtc, struct drm_display_mode *umode,
u32 vscan = (mode->flags & DRM_MODE_FLAG_DBLSCAN) ? 2 : 1;
u32 hactive, hsynce, hbackp, hfrontp, hblanke, hblanks;
u32 vactive, vsynce, vbackp, vfrontp, vblanke, vblanks;
- u32 vblan2e = 0, vblan2s = 1;
+ u32 vblan2e = 0, vblan2s = 1, vblankus = 0;
u32 *push;
int ret;
@@ -1083,6 +1083,11 @@ nv50_crtc_mode_set(struct drm_crtc *crtc, struct drm_display_mode *umode,
vblanke = vsynce + vbackp;
vfrontp = (mode->vsy...
2014 Sep 04
10
MEMX improvements + DDR 2/3 MR generation
Patch 1 and 2 implement wait-for-vblank, required to remove flicker when reclocking memory
Patch 3 and 4 allow me to do things between waiting for VBLANK and disabling FB, like pause PFIFO and wait for the engines to idle. This minimises the time PFIFO is paused, thus maximises performance.
The rest of the patches speak for themselves. As the actual memory reclocking script is still somewhat prone
2014 Sep 12
6
NVA3: Small misc mem reclocking fixes
Patch 1 fixes nva3 bailing due to not finding the right ramcfg
Patch 2 is a resend rebased on 3.17.0-rc4 for setting the vblank period
Patch 3-5 handle writes to per-partition registers, for which NVA3 does not
have special broadcast regs available.
Patch 6 removes local structs from NVA3 reclocking in favour of the already
existing "ram->base." variables, like in NVE0
As always,
2014 Oct 30
2
[PATCH] nv50/disp: Fix modeset on G94
...+ (nv_crtc->index * 0x400), 2);
evo_data(push, 0x00800000 | mode->clock);
evo_data(push, (ilace == 2) ? 2 : 0);
- evo_mthd(push, 0x0810 + (nv_crtc->index * 0x400), 8);
+ evo_mthd(push, 0x0810 + (nv_crtc->index * 0x400), 6);
evo_data(push, 0x00000000);
evo_data(push, (vactive << 16) | hactive);
evo_data(push, ( vsynce << 16) | hsynce);
evo_data(push, (vblanke << 16) | hblanke);
evo_data(push, (vblanks << 16) | hblanks);
evo_data(push, (vblan2e << 16) | vblan2s);
- evo_data(push, vblankus);
+ evo_mthd(push, 0x082c + (nv_c...
2014 Oct 30
2
[PATCH] nv50/disp: Fix modeset on G94
...? 2 : 0);
>> - evo_mthd(push, 0x0810 + (nv_crtc->index * 0x400), 8);
>> + evo_mthd(push, 0x0810 + (nv_crtc->index * 0x400), 6);
>> evo_data(push, 0x00000000);
>> evo_data(push, (vactive << 16) | hactive);
>> evo_data(push, ( vsynce << 16) | hsynce);
>> evo_data(push, (vblanke << 16) | hblanke);
>> evo_data(push, (vblanks << 16) | hblanks);
>>...
2013 Aug 12
0
[RFC PATCH] drm/nv50-nvd0: implement precise vblank timing support on nv50/nvc0.
...ool
nv50_crtc_mode_fixup(struct drm_crtc *crtc, const struct drm_display_mode *mode,
struct drm_display_mode *adjusted_mode)
{
+ drm_mode_set_crtcinfo(adjusted_mode, 0);
return true;
}
@@ -1091,9 +1094,12 @@ nv50_crtc_mode_set(struct drm_crtc *crtc, struct drm_display_mode *umode,
vactive = (vactive * 2) + 1;
}
+ drm_vblank_pre_modeset(crtc->dev, nv_crtc->index);
ret = nv50_crtc_swap_fbs(crtc, old_fb);
- if (ret)
+ if (ret) {
+ drm_vblank_post_modeset(crtc->dev, nv_crtc->index);
return ret;
+ }
push = evo_wait(mast, 64);
if (push) {
@@ -2229,9 +2235,18 @@...
2014 Oct 28
0
[PATCH] nv50/disp: Fix modeset on G94
...+ (nv_crtc->index * 0x400), 2);
evo_data(push, 0x00800000 | mode->clock);
evo_data(push, (ilace == 2) ? 2 : 0);
- evo_mthd(push, 0x0810 + (nv_crtc->index * 0x400), 8);
+ evo_mthd(push, 0x0810 + (nv_crtc->index * 0x400), 6);
evo_data(push, 0x00000000);
evo_data(push, (vactive << 16) | hactive);
evo_data(push, ( vsynce << 16) | hsynce);
evo_data(push, (vblanke << 16) | hblanke);
evo_data(push, (vblanks << 16) | hblanks);
evo_data(push, (vblan2e << 16) | vblan2s);
- evo_data(push, vblankus);
+ evo_mthd(push, 0x082c + (nv_c...
2014 Oct 30
0
[PATCH] nv50/disp: Fix modeset on G94
...h, (ilace == 2) ? 2 : 0);
> - evo_mthd(push, 0x0810 + (nv_crtc->index * 0x400), 8);
> + evo_mthd(push, 0x0810 + (nv_crtc->index * 0x400), 6);
> evo_data(push, 0x00000000);
> evo_data(push, (vactive << 16) | hactive);
> evo_data(push, ( vsynce << 16) | hsynce);
> evo_data(push, (vblanke << 16) | hblanke);
> evo_data(push, (vblanks << 16) | hblanks);
> evo_data(pus...
2014 Oct 31
0
[PATCH] nv50/disp: Fix modeset on G94
...evo_mthd(push, 0x0810 + (nv_crtc->index
> * 0x400), 8);
> >> + evo_mthd(push, 0x0810 + (nv_crtc->index
> * 0x400), 6);
> >> evo_data(push, 0x00000000);
> >> evo_data(push, (vactive << 16) | hactive);
>
> >> evo_data(push, ( vsynce << 16) | hsynce);
>
> >> evo_data(push, (vblanke << 16) | hblanke);
>
> >> evo_data(push, (vblanks << 16) | hblank...
2020 Feb 25
2
[PATCH 04/12] drm: Nuke mode->vrefresh
...; > --- a/drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c
> > +++ b/drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c
> > @@ -170,7 +170,6 @@ static int lcd_olinuxino_get_modes(struct drm_panel *panel,
> > lcd_mode->vpw;
> > mode->vtotal = lcd_mode->vactive + lcd_mode->vfp +
> > lcd_mode->vpw + lcd_mode->vbp;
> > - mode->vrefresh = lcd_mode->refresh;
> >
> > /* Always make the first mode preferred */
> > if (i == 0)
> > diff --git a/drivers/gpu/drm/panel/panel-orisetech-otm8009a.c...
2020 Feb 24
0
[PATCH 04/12] drm: Nuke mode->vrefresh
.....ecd76b5391d3 100644
> --- a/drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c
> +++ b/drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c
> @@ -170,7 +170,6 @@ static int lcd_olinuxino_get_modes(struct drm_panel *panel,
> lcd_mode->vpw;
> mode->vtotal = lcd_mode->vactive + lcd_mode->vfp +
> lcd_mode->vpw + lcd_mode->vbp;
> - mode->vrefresh = lcd_mode->refresh;
>
> /* Always make the first mode preferred */
> if (i == 0)
> diff --git a/drivers/gpu/drm/panel/panel-orisetech-otm8009a.c b/drivers/gpu/drm/panel/panel-...
2020 Feb 25
0
[PATCH 04/12] drm: Nuke mode->vrefresh
.../drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c
>>> +++ b/drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c
>>> @@ -170,7 +170,6 @@ static int lcd_olinuxino_get_modes(struct drm_panel *panel,
>>> lcd_mode->vpw;
>>> mode->vtotal = lcd_mode->vactive + lcd_mode->vfp +
>>> lcd_mode->vpw + lcd_mode->vbp;
>>> - mode->vrefresh = lcd_mode->refresh;
>>>
>>> /* Always make the first mode preferred */
>>> if (i == 0)
>>> diff --git a/drivers/gpu/drm/panel/panel-ori...
2020 Feb 19
5
[PATCH 04/12] drm: Nuke mode->vrefresh
...xino.c
index 09deb99981a4..ecd76b5391d3 100644
--- a/drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c
+++ b/drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c
@@ -170,7 +170,6 @@ static int lcd_olinuxino_get_modes(struct drm_panel *panel,
lcd_mode->vpw;
mode->vtotal = lcd_mode->vactive + lcd_mode->vfp +
lcd_mode->vpw + lcd_mode->vbp;
- mode->vrefresh = lcd_mode->refresh;
/* Always make the first mode preferred */
if (i == 0)
diff --git a/drivers/gpu/drm/panel/panel-orisetech-otm8009a.c b/drivers/gpu/drm/panel/panel-orisetech-otm8009a.c
index bb0...
2020 Apr 04
0
[PATCH v2 03/17] drm: Nuke mode->vrefresh
...6b5391d3 100644
> --- a/drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c
> +++ b/drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c
> @@ -170,7 +170,6 @@ static int lcd_olinuxino_get_modes(struct drm_panel
> *panel,
> lcd_mode->vpw;
> mode->vtotal = lcd_mode->vactive + lcd_mode->vfp +
> lcd_mode->vpw + lcd_mode->vbp;
> - mode->vrefresh = lcd_mode->refresh;
>
> /* Always make the first mode preferred */
> if (i == 0)
> diff --git a/drivers/gpu/drm/panel/panel-orisetech-otm8009a.c
> b/drivers/gpu/drm/panel/pa...
2020 Apr 28
0
[PATCH v3 03/16] drm: Nuke mode->vrefresh
...xino.c
index 09deb99981a4..ecd76b5391d3 100644
--- a/drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c
+++ b/drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c
@@ -170,7 +170,6 @@ static int lcd_olinuxino_get_modes(struct drm_panel *panel,
lcd_mode->vpw;
mode->vtotal = lcd_mode->vactive + lcd_mode->vfp +
lcd_mode->vpw + lcd_mode->vbp;
- mode->vrefresh = lcd_mode->refresh;
/* Always make the first mode preferred */
if (i == 0)
diff --git a/drivers/gpu/drm/panel/panel-orisetech-otm8009a.c b/drivers/gpu/drm/panel/panel-orisetech-otm8009a.c
index bb0...
2020 Apr 03
3
[PATCH v2 03/17] drm: Nuke mode->vrefresh
...xino.c
index 09deb99981a4..ecd76b5391d3 100644
--- a/drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c
+++ b/drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c
@@ -170,7 +170,6 @@ static int lcd_olinuxino_get_modes(struct drm_panel *panel,
lcd_mode->vpw;
mode->vtotal = lcd_mode->vactive + lcd_mode->vfp +
lcd_mode->vpw + lcd_mode->vbp;
- mode->vrefresh = lcd_mode->refresh;
/* Always make the first mode preferred */
if (i == 0)
diff --git a/drivers/gpu/drm/panel/panel-orisetech-otm8009a.c b/drivers/gpu/drm/panel/panel-orisetech-otm8009a.c
index bb0...