[Bug 105720] screen corruption using SNA and TearFree on Intel GeminiLake

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Apr 6 08:34:24 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=105720

--- Comment #38 from Martin Peres <martin.peres at free.fr> ---
(In reply to Chris Wilson from comment #37)
> Ah, wrong copy'n'paste:
> 
> diff --git a/src/sna/kgem.c b/src/sna/kgem.c
> index 038ecc87..866796ff 100644
> --- a/src/sna/kgem.c
> +++ b/src/sna/kgem.c
> @@ -79,7 +79,7 @@ search_snoop_cache(struct kgem *kgem, unsigned int
> num_pages, unsigned flags);
>  #define DBG_NO_RELAXED_FENCING 0
>  #define DBG_NO_SECURE_BATCHES 0
>  #define DBG_NO_PINNED_BATCHES 0
> -#define DBG_NO_SHRINK_BATCHES 0
> +#define DBG_NO_SHRINK_BATCHES 1
>  #define DBG_NO_FAST_RELOC 0
>  #define DBG_NO_HANDLE_LUT 0
>  #define DBG_NO_WT 0

No idea how Chris jumped to this idea after days of painful debugging, but boy
was I glad to finally not be able to reproduce (despite fearing a fluke).
Congrats Chris!

We are however still working on a proper fix that we could land, so please do
not close the bug just yet!

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20180406/2e64582b/attachment.html>


More information about the intel-gfx-bugs mailing list