public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Kenneth Graunke <kenneth@whitecape.org>
To: intel-gfx@lists.freedesktop.org
Cc: xorg-devel@lists.freedesktop.org
Subject: Re: [PATCH 0/2 xf86-video-intel] Two DRI3/Present bug fixes for UXA
Date: Fri, 12 Sep 2014 12:13:34 -0700	[thread overview]
Message-ID: <14277694.1dBmA8vKT4@vakarian> (raw)
In-Reply-To: <1410383349-27678-1-git-send-email-keithp@keithp.com>


[-- Attachment #1.1: Type: text/plain, Size: 1560 bytes --]

On Wednesday, September 10, 2014 02:09:07 PM Keith Packard wrote:
> Here are a couple of small bug fixes which make DRI3/Present work
> better with UXA.
> 
>  [PATCH 1/2] Do not clear pending kernel events on mode switch
> 
> This patch prevents GL-based compositing managers from wedging when
> performing video mode setting. The problem was that DIX was never
> receiving notification about page flips being completed when one was
> pending across a mode switch.
> 
>  [PATCH 2/2] Correct BO allocation alignment
> 
> This patch makes UXA and Mesa agree about how buffers are allocated
> for images. Without this, UXA was requiring larger padding, which
> meant that converting some textures into pixmaps using DRI3 would
> fail.
> 
> -keith
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Both are:
Tested-by: Kenneth Graunke <kenneth@whitecape.org>

I tested them using DRI3/Present + UXA and DRI3/Present + Glamor on Haswell GT3e.
1. Plug external 2560x1440 DisplayPort monitor into laptop.
2. echo 'exec startkde' > ~/.xinitrc
3. startx
4. xrandr --output DP1 --auto

This used to result in DP1 switching to 2560x1440, but KWin getting stuck waiting on a buffer idle event that never came, so you'd only see a 1920x1080 screen in the top left corner of the display, with either black or white bars in the other area.  Other than the mouse cursor, nothing worked.

With these patches, X works as expected.  Thanks for the fixes, Keith!

[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

      parent reply	other threads:[~2014-09-12 19:13 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-10 21:09 [PATCH 0/2 xf86-video-intel] Two DRI3/Present bug fixes for UXA Keith Packard
     [not found] ` <1410383349-27678-1-git-send-email-keithp-aN4HjG94KOLQT0dZR+AlfA@public.gmane.org>
2014-09-10 21:09   ` [PATCH 1/2] Do not clear pending kernel events on mode switch Keith Packard
2014-09-10 21:09   ` [PATCH 2/2] Correct BO allocation alignment Keith Packard
2014-09-11  6:37 ` [PATCH 0/2 xf86-video-intel] Two DRI3/Present bug fixes for UXA Chris Wilson
     [not found]   ` <20140911063716.GB28332-aII6DKEyn0pWYbfKqPwjAkR8Iwp7RQ6xAL8bYrjMMd8@public.gmane.org>
2014-09-11  6:47     ` [Intel-gfx] " Jasper St. Pierre
2014-09-11  6:52       ` Chris Wilson
2014-09-11 19:53     ` [Intel-gfx] " Keith Packard
     [not found]       ` <86r3ziorwl.fsf-6d7jPg3SX/+z9DMzp4kqnw@public.gmane.org>
2014-09-13  8:28         ` Chris Wilson
     [not found]           ` <20140913082824.GM16043-aII6DKEyn0pWYbfKqPwjAkR8Iwp7RQ6xAL8bYrjMMd8@public.gmane.org>
2014-09-13 17:31             ` Keith Packard
2014-09-12 19:13 ` Kenneth Graunke [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=14277694.1dBmA8vKT4@vakarian \
    --to=kenneth@whitecape.org \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=xorg-devel@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