Re: [PATCH 00/15] Accurate frontbuffer tracking and psr conversion

Daniel Vetter
2014-06-16T20:37:21Z

On Mon, Jun 16, 2014 at 9:37 PM, Chris Wilson <chris@chris-wilson.co.uk> wrote:
>> - Try to integrate hw gtt write tracking logic. Note that current psr code
>> doesn't rely on this - I've killed the X-tiled checks completely.
>
> Also probably not worth it. In the normal sporadic use, we can rely on
> the GTT being flushed as required.
>
> Note, that the tracking as proposed will unfortunately get fbcon wrong
> after it is touched by X. I think however there is some merit in
> improving how we handle fbcon here.

Where would that go wrong? After every set_par we do a
set_to_gtt_domain, I've hoped that would be good enough to get fbcon
into shape and make sure the fbcon fb is in the right domain (i.e.
permanently invalidated) again?

Or does fbcon not do a set_par when X drops the vt back into text
mode? I didn't check that ...
-Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch