From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: "Uwe Kleine-König" <uwe@kleine-koenig.org>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>,
intel-gfx@lists.freedesktop.org,
Martin Peres <martin.peres@free.fr>
Subject: Re: [PATCH] drm/i915: Fix legacy cursor vs. watermarks for ILK-BDW
Date: Fri, 17 Feb 2017 22:18:38 +0200 [thread overview]
Message-ID: <20170217201838.GY31595@intel.com> (raw)
In-Reply-To: <20170217200443.vg2yba6rx5sysy37@perseus.defre.kleine-koenig.org>
On Fri, Feb 17, 2017 at 09:04:44PM +0100, Uwe Kleine-König wrote:
> Hello Ville,
>
> On Fri, Feb 17, 2017 at 05:01:59PM +0200, ville.syrjala@linux.intel.com wrote:
> > From: Ville Syrjälä <ville.syrjala@linux.intel.com>
> >
> > In order to make cursor updates actually safe wrt. watermark programming
> > we have to clear the legacy_cursor_update flag in the atomic state. That
> > will cause the regular atomic update path to do the necessary vblank
> > wait after the plane update if needed, otherwise the vblank wait would
> > be skipped and we'd feed the optimal watermarks to the hardware before
> > the plane update has actually happened.
> >
> > [...]
> >
> > Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
> > Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
> > Cc: Uwe Kleine-König <uwe@kleine-koenig.org>
> > Reported-by: Uwe Kleine-König <uwe@kleine-koenig.org>
> > Fixes: f79f26921ee1 ("drm/i915: Add a cursor hack to allow converting legacy page flip to atomic, v3.")
> > Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
>
> Is this supposed to fix
> https://bugs.freedesktop.org/show_bug.cgi?id=98742 ? If so, the Fixes:
> line seems wrong because f79f26921ee1 isn't in 4.9 where I see the
> issue.
>
> If I want to fix 4.9---my ultimate goal is to fix the kernel that will
> go into the next stable release---I have to cherry-pick f79f26921ee1
> first, I assume?
Argh. The fact is that it has actually been broken since forever,
but I suppose *something* must have been masking the problem for
you on earlier kernels, well, assuming you didn't actually hit the
problem before 4.9.
You can give backporting the custom legacy cursor path a try,
but I'm not sure how badly it depends on other things. So not
sure a backport is entirely trivial. Maarten, any thoughts?
--
Ville Syrjälä
Intel OTC
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2017-02-17 20:18 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-31 8:09 [PATCH RFC] drm/i915: reduce cursor size for GEN5 hardware Uwe Kleine-König
2017-01-31 9:03 ` Maarten Lankhorst
2017-01-31 19:13 ` Uwe Kleine-König
2017-02-01 12:41 ` Maarten Lankhorst
2017-02-01 14:37 ` Ville Syrjälä
2017-02-07 13:22 ` Uwe Kleine-König
2017-02-07 15:03 ` Martin Peres
2017-02-07 15:35 ` Ville Syrjälä
2017-02-07 17:51 ` Maarten Lankhorst
2017-02-07 17:58 ` Ville Syrjälä
2017-02-17 11:10 ` Uwe Kleine-König
2017-02-17 15:01 ` [PATCH] drm/i915: Fix legacy cursor vs. watermarks for ILK-BDW ville.syrjala
2017-02-17 20:04 ` Uwe Kleine-König
2017-02-17 20:18 ` Ville Syrjälä [this message]
2017-02-20 9:04 ` Maarten Lankhorst
2017-02-20 13:38 ` Ville Syrjälä
2017-02-20 14:30 ` Maarten Lankhorst
2017-02-24 13:11 ` Ville Syrjälä
2017-02-25 15:31 ` Maarten Lankhorst
2017-03-02 14:58 ` Ville Syrjälä
2017-03-21 13:42 ` Ander Conselvan De Oliveira
2017-03-21 14:43 ` Ville Syrjälä
2017-01-31 9:25 ` ✗ Fi.CI.BAT: warning for drm/i915: reduce cursor size for GEN5 hardware Patchwork
2017-02-17 17:52 ` ✓ Fi.CI.BAT: success for drm/i915: reduce cursor size for GEN5 hardware (rev4) Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170217201838.GY31595@intel.com \
--to=ville.syrjala@linux.intel.com \
--cc=daniel.vetter@ffwll.ch \
--cc=intel-gfx@lists.freedesktop.org \
--cc=martin.peres@free.fr \
--cc=uwe@kleine-koenig.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.