public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Knut Petersen <Knut_Petersen@t-online.de>
To: Chris Wilson <chris@chris-wilson.co.uk>,
	Daniel Vetter <daniel@ffwll.ch>,
	intel-gfx <intel-gfx@lists.freedesktop.org>
Subject: Re: [BUG] Cursor code broken
Date: Wed, 09 Apr 2014 19:02:05 +0200	[thread overview]
Message-ID: <53457D0D.2040507@t-online.de> (raw)
In-Reply-To: <20140409151919.GB14192@nuc-i3427.alporthouse.com>

On 09.04.2014 17:19, Chris Wilson wrote:
> On Wed, Apr 09, 2014 at 03:59:29PM +0100, Chris Wilson wrote:
>> On Wed, Apr 09, 2014 at 03:37:35PM +0200, Daniel Vetter wrote:
>>> On Wed, Apr 09, 2014 at 08:16:30AM +0200, Knut Petersen wrote:
>>>> Hi Chris!
>>>>
>>>> The intel xorg driver cursor code is broken, at least on my system.
>>>> The last good commit is 3810cff42bca1badc5844002694a6f582c0f423.
>>> Hm, you mean
>>>
>>> commit 25ca8f136cef9e1bdf06967bf8e78c87b54ffce2
>>> Author: Chris Wilson <chris@chris-wilson.co.uk>
>>> Date:   Thu Mar 27 14:15:30 2014 +0000
>>>
>>>      sna: Support variable sized cursors
>>>
>>> Iirc Chris already fixed this in latest git.
>> Ah, no. This is a phys cursor artifact. Special hardware, extra special
>> code.
> Should be fixed with
>
> commit dba43d370b984e262f6fe5920b38b433f4bd392b
> Author: Chris Wilson <chris@chris-wilson.co.uk>
> Date:   Wed Apr 9 16:11:26 2014 +0100

Yes indeed. Thanks!

cu,
  Knut
>
>      sna: Use pwrite to update physical cursors
>      
>      Older hardware uses physical addresses for its cursor, which are
>      implemented by the kernel in an incoherent fashion. Maybe with stolen
>      support this would be different...
>      
>      Fixes regression on [845g, 945g] from
>      commit 25ca8f136cef9e1bdf06967bf8e78c87b54ffce2
>      Author: Chris Wilson <chris@chris-wilson.co.uk>
>      Date:   Thu Mar 27 14:15:30 2014 +0000
>      
>          sna: Support variable sized cursors
>      
>      Reported-by: Knut Petersen <Knut_Petersen@t-online.de>
>      Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
>
>
> It just so happens that the older hardware I tested on (845g and pnv)
> doesn't use physical cursors!
> -Chris
>

      reply	other threads:[~2014-04-09 17:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-09  6:16 [BUG] Cursor code broken Knut Petersen
2014-04-09 13:37 ` Daniel Vetter
2014-04-09 14:59   ` Chris Wilson
2014-04-09 15:19     ` Chris Wilson
2014-04-09 17:02       ` Knut Petersen [this message]

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=53457D0D.2040507@t-online.de \
    --to=knut_petersen@t-online.de \
    --cc=chris@chris-wilson.co.uk \
    --cc=daniel@ffwll.ch \
    --cc=intel-gfx@lists.freedesktop.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox