Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1592699
| From | Tony Lindgren <tony@atomide.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCHv2 09/10] drm: omapdrm: crtc: get manual mode displays working |
| Date | 2017-03-05 06:50 +0100 |
| Message-ID | <thxdo-3TP-7@gated-at.bofh.it> (permalink) |
| References | <thrKF-8kZ-5@gated-at.bofh.it> <thsx3-rY-3@gated-at.bofh.it> <thsx4-rY-25@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
* Sebastian Reichel <sre@kernel.org> [170304 16:45]:
> From: Tony Lindgren <tony@atomide.com>
>
> With manual mode displays we need to flush the panel manually.
>
> Let's add flushing so we get Tomi's fbtest, kmstest, kmstest --flip,
> and X and wayland working.
> --- a/drivers/gpu/drm/omapdrm/omap_crtc.c
> +++ b/drivers/gpu/drm/omapdrm/omap_crtc.c
> @@ -97,6 +97,11 @@ bool omap_crtc_is_manual_updated(struct drm_crtc *crtc)
> return omap_crtc->manually_updated;
> }
>
> +static void omap_crtc_manual_needs_flush(struct drm_crtc *crtc)
> +{
> + omap_crtc_flush(crtc, 0, 0, 0, 0);
> +}
...
> @@ -554,6 +561,7 @@ static void omap_crtc_atomic_flush(struct drm_crtc *crtc,
> ret = drm_crtc_vblank_get(crtc);
> WARN_ON(ret != 0);
> }
> + omap_crtc_flush(&omap_crtc->base, 0, 0, 0, 0);
Just noticed that this should also just use omap_crtc_manual_needs_flush()
here if you care to update it.
Regards,
Tony
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCHv2 00/10] Nokia N950 basic display support Sebastian Reichel <sre@kernel.org> - 2017-03-05 01:00 +0100
[PATCHv2 03/10] Revert "drm: omapdrm: Remove manual update display support" Sebastian Reichel <sre@kernel.org> - 2017-03-05 01:50 +0100
[PATCHv2 07/10] drm: omapdrm: plane: update fifo size on atomic update Sebastian Reichel <sre@kernel.org> - 2017-03-05 01:50 +0100
[PATCHv2 01/10] drm: omapdrm: panel-dsi-cm: Fix probe for device tree Sebastian Reichel <sre@kernel.org> - 2017-03-05 01:50 +0100
[PATCHv2 08/10] drm: omapdrm: crtc: handle framedone directly Sebastian Reichel <sre@kernel.org> - 2017-03-05 01:50 +0100
[PATCHv2 05/10] drm: omapdrm: crtc: detect manually updated displays Sebastian Reichel <sre@kernel.org> - 2017-03-05 01:50 +0100
Re: [PATCHv2 05/10] drm: omapdrm: crtc: detect manually updated displays Tony Lindgren <tony@atomide.com> - 2017-03-05 06:50 +0100
[PATCHv2 10/10] ARM: dts: n950: add display support Sebastian Reichel <sre@kernel.org> - 2017-03-05 01:50 +0100
[PATCHv2 09/10] drm: omapdrm: crtc: get manual mode displays working Sebastian Reichel <sre@kernel.org> - 2017-03-05 01:50 +0100
Re: [PATCHv2 09/10] drm: omapdrm: crtc: get manual mode displays working Tony Lindgren <tony@atomide.com> - 2017-03-05 06:50 +0100
[PATCHv2 04/10] drm: omapdrm: crtc: save framedone callback from dss Sebastian Reichel <sre@kernel.org> - 2017-03-05 01:50 +0100
Re: [PATCHv2 04/10] drm: omapdrm: crtc: save framedone callback from dss Tony Lindgren <tony@atomide.com> - 2017-03-05 06:50 +0100
[PATCHv2 02/10] drm: omapdrm: panel-dsi-cm: add regulator support Sebastian Reichel <sre@kernel.org> - 2017-03-05 01:50 +0100
Re: [PATCHv2 02/10] drm: omapdrm: panel-dsi-cm: add regulator support Tony Lindgren <tony@atomide.com> - 2017-03-05 06:50 +0100
[PATCHv2 06/10] drm: omapdrm: crtc: add support for manual updated displays Sebastian Reichel <sre@kernel.org> - 2017-03-05 01:50 +0100
csiph-web