adding the resource shouldn't otherwise be a problem due to
the single-threaded nature of X.
Signed-off-by: Alex Goins
---
Xext/sync.c| 50 --
Xext/syncsdk.h | 4
miext/sync/misync.c| 27
nc with this
patch before merging it, but I don't have any further objections.
Reviewed-by: Alex Goins
Thanks!
Alex
> Hi AlexG,
>
> What's about new patch?
>
> Thanks
> JimQu
>
>
> 在 2018/8/27 13:37, Jim Qu 写道:
> > The X will be crashed on the system with
Inline
On Fri, 24 Aug 2018, Jim Qu wrote:
> The PRIME sync on modesetting assume that all two GPUs are used
> modesetting driver on the hybrid system. The X will be crashed
> on the system with other DDX driver, such as amdgpu.
It only makes this assumption when the other DDX driver is the
Hi Adam,
Can this be merged?
Thanks,
Alex
On Wed, 15 Aug 2018, Alex Goins wrote:
> Thanks, Keith and Michel!
>
> Yes, I'll test and review the change, and help where necessary. Thanks for
> pointing it out.
>
> -Alex
>
> On Wed, 15 Aug 2018, Michel Dänzer wrote:
&g
under PRIME(not reverse)
> case?
>
> Thanks
>
> JimQu
>
>
> On 2018年08月18日 02:55, Alex Goins wrote:
>
> I think this patch is along the right lines, but misses part of the fix.
> Although I don't have access to a modesetting<->modesetting PRIME o
I think this patch is along the right lines, but misses part of the fix.
Although I don't have access to a modesetting<->modesetting PRIME output slaving
setup to test this theory right now, I think this will break it. Have you tested
that this path is exercised?
It is true that
Thanks, Keith and Michel!
Yes, I'll test and review the change, and help where necessary. Thanks for
pointing it out.
-Alex
On Wed, 15 Aug 2018, Michel Dänzer wrote:
> On 2018-08-14 10:05 PM, Alex Goins wrote:
> > The purpose of rrCheckPixmapBounding() is to make sure that the fb
that rrCheckPixmapBounding() will only resize the fb to be larger
than it already is, preventing it from stepping on prior requests to increase
the size of the fb.
Signed-off-by: Alex Goins
---
randr/rrcrtc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/randr/rrcrtc.c b/randr/rrcrtc.c
index
It sounds like this patch is the one we want. Can it be merged?
Thanks,
Alex
On Wed, 10 Jan 2018, Michel Dänzer wrote:
> On 2018-01-09 03:44 AM, Alex Goins wrote:
> > ProcRRSetScreenSize() does bounds checking to ensure that none of the CRTCs
> > have
> > a viewport that e
On Tue, 9 Jan 2018, Michel Dänzer wrote:
> On 2018-01-09 03:44 AM, Alex Goins wrote:
> > Previously, ProcRRSetScreenSize() manually computed the dimensions of a
> > CRTC's
> > viewport in order to check that it does not extend beyond the bounds of the
> >
canoutSize() is used directly due to the transform having not yet been
applied but the check is otherwise the same.
Signed-off-by: Alex Goins <ago...@nvidia.com>
---
randr/rrscreen.c | 13 -
1 file changed, 4 insertions(+), 9 deletions(-)
diff --git a/randr/rrscreen.c b/randr/rrscreen
is can cause valid uses of
ProcRRSetScreenSize() to fail with BadMatch.
This patch fixes the issue by testing that the bits RR_Rotate_90 or
RR_Rotate_270 are set, rather than testing for equality.
Signed-off-by: Alex Goins <ago...@nvidia.com>
---
randr/rrscreen.c | 2 +-
1 file changed, 1 ins
> On Fri, 2017-11-03 at 21:04 -0700, Alex Goins wrote:
>
> > > > DPCCompositorChangeNotify
> > > >
> > > > requester: WINDOW window requesting notification
> > > > output: OUTPUT output affected by change
>
On Fri, 10 Nov 2017, Michel Dänzer wrote:
> On 09/11/17 08:09 PM, Alex Goins wrote:
> >> On 09/11/17 02:34 AM, Alex Goins wrote:
> >>> On Wed, 8 Nov 2017, Michel Dänzer wrote:
> >
> >> I'm asking this to avoid ending up in a similar situation as with the
&
> On 09/11/17 02:34 AM, Alex Goins wrote:
> > On Wed, 8 Nov 2017, Michel Dänzer wrote:
> I'm asking this to avoid ending up in a similar situation as with the
> PRIME synchronization functionality, where it seems like the modesetting
> driver still can't use it with
Thanks both for the quick feedback. Replies inline.
On Wed, 8 Nov 2017, Hans de Goede wrote:
> > https://lists.x.org/archives/xorg-devel/2016-September/050973.html implies
> > that
> > xf86CursorScreenPtr is part of the ABI. Mark xf86CursorPriv.h as such.
>
> I'm not sure if exporting this is a
cursor code such that the slave aspects of these
functions are tried first, falling back to the master if they fail.
SlaveHWCursor, a flag for querying if the hardware cursor is being driven by
slaves, is added to xf86CursorScreenRec, resulting in an ABI break.
Signed-off-by: Alex Goins <
xf86CheckHWCursor() has spacing that is inconsistent with the rest of the file.
Correct this in preparation for subsequent changes.
Signed-off-by: Alex Goins <ago...@nvidia.com>
---
hw/xfree86/ramdac/xf86HWCurs.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --gi
to xf86CursorScreenRec, resulting in an ABI break.
Alex Goins (3):
ramdac: Fix formatting in xf86CheckHWCursor()
ramdac: Add xf86CursorPriv.h to ABI
ramdac: Handle master and slave cursors independently
hw/xfree86/ramdac/Makefile.am | 4 +-
hw/xfree86/ramdac/xf86CursorPriv.h | 3 +
hw/xfree86/ramdac
https://lists.x.org/archives/xorg-devel/2016-September/050973.html implies that
xf86CursorScreenPtr is part of the ABI. Mark xf86CursorPriv.h as such.
Signed-off-by: Alex Goins <ago...@nvidia.com>
---
hw/xfree86/ramdac/Makefile.am | 4 ++--
hw/xfree86/sdksyms.sh | 1 +
2 files chan
On Thu, 2 Nov 2017, Adam Jackson wrote:
> On Thu, 2017-10-26 at 19:50 -0700, Alex Goins wrote:
>
> > DPCGetWindowDisplayCapabilities
> >
> > window: WINDOW
> > =>
> > output: OUTPUT
> > colorspace_list: LISTofCOLOR
Adding Keith, as this is a regression that completely breaks PRIME Sync configs
at top of tree.
Thanks,
Alex
On Fri, 20 Oct 2017, Alex Goins wrote:
> Change 677c32bc refactored all usages of drmWaitVBlank() into a helper
> function,
> ms_queue_vblank().
>
> ms_queue
06-06,
+https://cgit.freedesktop.org/xorg/proto/presentproto/plain/presentproto.txt
-
DeepColor Extension
Version X.X
2017-XX-XX
Alex Goins
calls xf86SetCursor(NullCursor). If
xf86ScreenSetCursor(NullCursor) returns FALSE, it calls
xf86SetCursor(NullCursor) again and this repeats forever.
Signed-off-by: Alex Goins <ago...@nvidia.com>
---
hw/xfree86/ramdac/xf86HWCurs.c | 9 -
1 file changed, 8 insertions(+), 1 deletio
() passes in 1,
which results in a large negative vblank offset. After subtracting, we're left
with a relative sequence number of 100,000+, i.e. wait for 100,000+ vblanks...
In the relative case we want to pass in the sequence number unmodified. Simply
add a check to do this.
Signed-off-by: Alex Goins
On Sun, 15 Oct 2017, Keith Packard wrote:
> Alex Goins <ago...@nvidia.com> writes:
>
> > Thanks, Adam.
> >
> > Here's an updated version of the spec:
>
> This is looking very good. I don't have any architectural concerns at
> this point, just some e
Thanks, Adam.
Here's an updated version of the spec:
DeepColor Extension
Version X.X
2017-XX-XX
Alex Goins
ago...@nvidia.com
On Wed, 12 Jul 2017, Adam Jackson wrote:
> On Wed, 2017-07-12 at 19:30 +0200, Mark Kettenis wrote:
> > > Date: Tue, 11 Jul 2017 10:32:19 -0700
> > > From: Stephen Hemminger
> > >
> > > Yes, binary compatibility is a problem. Putting additional data at end
> > > of
Version X.X
2017-XX-XX
Alex Goins
ago...@nvidia.com
NVIDIA Corporation
1. Introduction
The DeepColor Extension provides a new visual class, DeepColor, designed
Inline
On Wed, 19 Jul 2017, Keith Packard wrote:
> * PGP Signed by an unknown key
>
> Alex Goins <ago...@nvidia.com> writes:
>
> > 2. DeepColor Visual Class
> >
> > The DeepColor extension defines a new visual class, DeepColor.
>
> As Adam says
methods for querying these properties.
Supported colorspaces/encodings were chosen as a superset of those supported by
the requisite EGL/Vulkan extensions, with GLX relying entirely on the X
properties for the purpose of determining colorspace/encoding.
Let us know what you think!
Thanks,
Alex Goins
Pinging in case this got buried.
Thanks,
Alex
On Wed, 1 Mar 2017, Alex Goins wrote:
> Thanks Adam. Inline -
>
> On Fri, 10 Feb 2017, Adam Jackson wrote:
>
> > On Thu, 2017-02-09 at 19:06 -0800, Alex Goins wrote:
> > > Any input?
> >
> > Inline be
Thanks Adam. Inline -
On Fri, 10 Feb 2017, Adam Jackson wrote:
> On Thu, 2017-02-09 at 19:06 -0800, Alex Goins wrote:
> > Any input?
>
> Inline below...
>
> > > Would it be a major problem for automatic redirection to destroy HDR?
> > > Compositors
Any input?
Thanks,
Alex
On Wed, 25 Jan 2017, Alex Goins wrote:
> >Either we define the interaction with Render, or automatic redirection
> >(and backing store) don't work. But again we're painted into a bit of a
> >corner:
> >
> >typedef struct {
> >
>Either we define the interaction with Render, or automatic redirection
>(and backing store) don't work. But again we're painted into a bit of a
>corner:
>
>typedef struct {
>CARD16 red B16;
>CARD16 redMask B16;
>CARD16 green B16;
>CARD16 greenMask B16;
>
> >> To allow for scRGB visuals, as well as others with arbitrarily large color
> >> components, we'd like to propose a new visual class that is opaque to X
> >> rendering, but allows for drawables with arbitrary attributes to be used
> >> for
> >> on-screen rendering and compositing via GLX.
> > VoidColor is a visual class defined to have a static colormap of 0
> > elements. It
> > is incapable of receiving X rendering, but is compatible with any GLX
> > drawable
> > of the correct depth regardless of other attributes. The idea is that you
> > could
> > pass any GLX fbconfig to
. What do you think?
Thanks,
Alex Goins
NVIDIA Linux Driver Team
___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel
xf86CheckHWCursor() would dereference sPriv without NULL checking it. If Option
"SWCursor" is specified, sPriv == NULL. In this case we should assume that HW
cursors are not supported.
Signed-off-by: Alex Goins <ago...@nvidia.com>
Reviewed-by: Andy Ritger <arit...@nvidia.c
xf86CheckHWCursor() would dereference sPriv without NULL checking it. If Option
"SWCursor" is specified, sPriv == NULL. In this case we should assume that HW
cursors are not supported.
Signed-off-by: Alex Goins <ago...@nvidia.com>
Reviewed-by: Andy Ritger <arit...@nvidia.c
functional, especially for the first Xorg release that supports PRIME
Synchronization.
Thanks,
Alex
On Thu, 8 Sep 2016, Hans de Goede wrote:
> Hi,
>
> On 08-09-16 01:32, Alex Goins wrote:
> > Hi Hans,
> >
> > Thanks for this, it will definitely be a big improvement.
&g
On Thu, 8 Sep 2016, Michel Dänzer wrote:
> On 08/09/16 08:32 AM, Alex Goins wrote:
> >
> > I'm encountering some very strange issues when running these with PRIME
> > Synchronization enabled, even after fixing our internal cursor handling.
> > When
> > moving t
Hi Hans,
Thanks for this, it will definitely be a big improvement.
I've been testing these patches against the NVIDIA driver. Some concerns -
What would be the best way to query from the master if the slave is using a HW
cursor? We typically composite the cursor onto the shared pixmap, and with
Commit 80e64dae: "modesetting: Implement PRIME syncing as a sink" originally was
supposed to have this line, but it was dropped as part of the merge process.
Foregoing the NULL assignment causes a ton of problems with dereferencing
uninitialized memory.
Signed-off-by: Alex
> The failed patches look okay, and are tested and working.
I was mistaken; "modesetting: Implement PRIME syncing as a sink" is missing a
'*target = NULL' line, which causes issues from dereferencing uninitialized
memory after tearing down a scanout pixmap.
I'm about to send out a patch to fix
> Merged:
>
> remote: E: failed to find patch for rev
> b601f96a5915a2c486b389483b291797e6fdf617.
> remote: I: patch #80653 updated using rev
> 1bdbc7e764ed7bf7c1ae46287dec368aa7c7e80d.
> remote: E: failed to find patch for rev
> f4c377953df1fe0e3196eda452acf0078e61.
> remote: E: failed to
aps
internally to EnableSharedPixmapFlipping().
Don't support flipping if ms->drmmode.pageflip == FALSE.
Move flipping_active check to this commit
v6: Rebase onto ToT
v7: Unchanged
Signed-off-by: Alex Goins <ago...@nvidia.com>
---
hw/xfree86/drivers/modesetting/driver.c | 96 +
previous commit to here
v3: Unchanged
v4: Unchanged
v5: Move flipping_active check to sink support commit
v6: Rebase onto ToT
v7: Unchanged
Signed-off-by: Alex Goins <ago...@nvidia.com>
---
hw/xfree86/drivers/modesetting/drmmode_display.c | 18 ++
1 file changed, 14 insertions
: https://lists.x.org/archives/xorg-devel/2016-February/048677.html
v2: https://lists.x.org/archives/xorg-devel/2016-January/048434.html
v1: https://lists.x.org/archives/xorg-devel/2015-November/048039.html
Thanks,
Alex @ NVIDIA Linux Driver Team
Alex Goins (11):
xf86: Add PRIME flipping
ToT
v7: Expand to blacklist all USB transport devices, not just UDL
Signed-off-by: Alex Goins <ago...@nvidia.com>
---
hw/xfree86/drivers/modesetting/driver.c | 14 ++
1 file changed, 14 insertions(+)
diff --git a/hw/xfree86/drivers/modesetting/driver.c
b/hw/xfree86/drivers/modes
front and back parameters to RREnableSharedPixmapFlippingProcPtr
v6: Rebase onto ToT
v7: Unchanged
Signed-off-by: Alex Goins <ago...@nvidia.com>
---
include/scrnintstr.h | 14 ++
randr/randrstr.h | 17 +
2 files changed, 31 insertions(+)
diff --git a/include/
t the output property to 0 if it has to fall
back, to avoid user confusion.
Make rr(Get)PixmapSharingSyncProp() check the current value if there isn't a
pending value
v4: Unchanged
v5: Unchanged
v6: Rebase onto ToT
v7: Unchanged
Signed-off-by: Alex Goins <ago...@nvidia.com>
---
commit
v6: Rebase onto ToT
v7: Unchanged
Signed-off-by: Alex Goins <ago...@nvidia.com>
---
hw/xfree86/drivers/modesetting/driver.c | 10 --
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/hw/xfree86/drivers/modesetting/driver.c
b/hw/xfree86/drivers/modesetting/driver.
: Move disabling of reverse PRIME on sink to sink commit
v6: Rebase onto ToT
v7: Unchanged
Signed-off-by: Alex Goins <ago...@nvidia.com>
---
hw/xfree86/drivers/modesetting/driver.c | 137 +++
hw/xfree86/drivers/modesetting/drmmode_display.h | 8 +-
2 files c
).
v1: N/A
v2: N/A
v3: N/A
v4: N/A
v5: Initial commit
v6: Rebase onto ToT
v7: Unchanged
Signed-off-by: Alex Goins <ago...@nvidia.com>
---
hw/xfree86/drivers/modesetting/drmmode_display.c | 30 +---
1 file changed, 16 insertions(+), 14 deletions(-)
diff --git a/hw/xfree86/d
reduce constraints on calling
conventions.
v1: N/A
v2: N/A
v3: N/A
v4: N/A
v5: Initial commit
v6: Rebase onto ToT
v7: Unchanged
Signed-off-by: Alex Goins <ago...@nvidia.com>
---
hw/xfree86/drivers/modesetting/driver.c | 9 +
hw/xfree86/drivers/modesetting/drmmode_di
Inline
> > I'm not a huge fan of the term "reverse PRIME," since to me, reverse PRIME
> > is
> > just PRIME. PRIME can be used for display sink support with any two
> > devices/drivers that expose the capabilities. I don't see why it should be
> > considered "reverse PRIME" just because the sink
Hi Hans! Replying inline.
> On 11-06-16 02:21, Alex Goins wrote:
> > UDL (USB 2.0 DisplayLink DRM driver) has strange semantics when it comes to
> > vblank events and damage tracking when page flipping.
> >
> > When doing a page flip, it will instantly raise a vblan
> > >> IMHO the proposed patch does not sound like a reasonable long-term
> > >> solution. Ideally the driver will expose a flag, based on which Xorg
> > >> will enable/disable reverse prime. That said, as a short-term fix this
> > >> is fine, barring the issues mentioned below.
> > >
> > > The
Thanks for the feedback, Emil!
> IMHO the proposed patch does not sound like a reasonable long-term
> solution. Ideally the driver will expose a flag, based on which Xorg
> will enable/disable reverse prime. That said, as a short-term fix this
> is fine, barring the issues mentioned below.
I'll
t the output property to 0 if it has to fall
back, to avoid user confusion.
Make rr(Get)PixmapSharingSyncProp() check the current value if there isn't a
pending value
v4: Unchanged
v5: Unchanged
v6: Rebase onto ToT
Signed-off-by: Alex Goins <ago...@nvidia.com>
---
randr/ran
: Move disabling of reverse PRIME on sink to sink commit
v6: Rebase onto ToT
Signed-off-by: Alex Goins <ago...@nvidia.com>
---
hw/xfree86/drivers/modesetting/driver.c | 137 +++
hw/xfree86/drivers/modesetting/drmmode_display.h | 8 +-
2 files changed, 144 inse
to accomodate earlier changes
v6: Rebase onto ToT
Signed-off-by: Alex Goins <ago...@nvidia.com>
---
hw/xfree86/drivers/modesetting/driver.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/hw/xfree86/drivers/modesetting/driver.c
b/hw/xfree86/drivers/modesetting/driver.c
index ab3b028..f
aps
internally to EnableSharedPixmapFlipping().
Don't support flipping if ms->drmmode.pageflip == FALSE.
Move flipping_active check to this commit
v6: Rebase onto ToT
Signed-off-by: Alex Goins <ago...@nvidia.com>
---
hw/xfree86/drivers/modesetting/driver.c | 96 +++-
hw/
: Rebase onto ToT
Signed-off-by: Alex Goins <ago...@nvidia.com>
---
hw/xfree86/drivers/modesetting/driver.c | 10 +++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/hw/xfree86/drivers/modesetting/driver.c
b/hw/xfree86/drivers/modesetting/driver.c
index f7abd1e..403cb96
).
v1: N/A
v2: N/A
v3: N/A
v4: N/A
v5: Initial commit
v6: Rebase onto ToT
Signed-off-by: Alex Goins <ago...@nvidia.com>
---
hw/xfree86/drivers/modesetting/drmmode_display.c | 30 +---
1 file changed, 16 insertions(+), 14 deletions(-)
diff --git a/hw/xfree86/drivers/modes
xorg-devel/2016-February/048677.html
v2: https://lists.x.org/archives/xorg-devel/2016-January/048434.html
v1: https://lists.x.org/archives/xorg-devel/2015-November/048039.html
Thanks,
Alex @ NVIDIA Linux Driver Team
Alex Goins (11):
xf86: Add PRIME flipping functions to Screen
randr
-by: Alex Goins <ago...@nvidia.com>
---
hw/xfree86/modes/xf86Crtc.h| 4 ++
hw/xfree86/modes/xf86RandR12.c | 4 +-
randr/randrstr.h | 1 +
randr/rrcrtc.c | 131 -
4 files changed, 111 insertions(+), 29 deletions(-)
front and back parameters to RREnableSharedPixmapFlippingProcPtr
v6: Rebase onto ToT
Signed-off-by: Alex Goins <ago...@nvidia.com>
---
include/scrnintstr.h | 14 ++
randr/randrstr.h | 17 +
2 files changed, 31 insertions(+)
diff --git a/include/scrnintstr
previous commit to here
v3: Unchanged
v4: Unchanged
v5: Move flipping_active check to sink support commit
v6: Rebase onto ToT
Signed-off-by: Alex Goins <ago...@nvidia.com>
---
hw/xfree86/drivers/modesetting/drmmode_display.c | 18 ++
1 file changed, 14 insertions(+), 4 del
commit
v6: Rebase onto ToT
Signed-off-by: Alex Goins <ago...@nvidia.com>
---
hw/xfree86/drivers/modesetting/driver.c | 10 --
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/hw/xfree86/drivers/modesetting/driver.c
b/hw/xfree86/drivers/modesetting/driver.c
index 0059e56.
reduce constraints on calling
conventions.
v1: N/A
v2: N/A
v3: N/A
v4: N/A
v5: Initial commit
v6: Rebase onto ToT
Signed-off-by: Alex Goins <ago...@nvidia.com>
---
hw/xfree86/drivers/modesetting/driver.c | 9 +
hw/xfree86/drivers/modesetting/drmmode_di
Got it.
Thanks!
Alex
On Fri, 27 May 2016, Dave Airlie wrote:
> On 20 May 2016 at 08:36, Alex Goins <ago...@nvidia.com> wrote:
> > Hi Dave,
> >
> > Any update on this? Anything I can do to help?
>
> Hey,
>
> can you take a look at
>
> prime:
Reviewed-by: Alex Goins
Thanks,
Alex
On Fri, 6 May 2016, Dave Airlie wrote:
> This is an ABI break, in that we now pass NULL to a function
> that hasn't accepted it before.
>
> Alex Goins had a different patch for this but it wasn't symmetrical,
> it freed something in a very
Hi Dave,
Any update on this? Anything I can do to help?
Thanks,
Alex
On Tue, 3 May 2016, Dave Airlie wrote:
> On 3 May 2016 at 12:19, Alex Goins <ago...@nvidia.com> wrote:
> > Sorry for all of the self-replies.
> >
> > I spent more time looking into what mig
(), and since there is no standard interface to do something like
drm_intel_get_pipe_from_crtc_id(), we just make a best guess in
drmmode_crtc_vblank_pipe(). Could be error-prone.
Thanks,
Alex
On Sat, 30 Apr 2016, Alex Goins wrote:
> D'oh, I was still running mutter with vblank_mode=0 from when I
to a function
> >> that hasn't accepted it before.
> >>
> >> Alex Goins had a different patch for this but it wasn't symmetrical,
> >> it freed something in a very different place than it allocated it,
> >> this attempts to retain symmetry in the rele
D'oh, I was still running mutter with vblank_mode=0 from when I had no native
heads present. Now it's using the Present extension to wait for vblank, but not
to flip. Still not seeing the issues described.
Thanks,
Alex
On Sat, 30 Apr 2016, Alex Goins wrote:
> So far I've been una
bly doesn't mean much until I can
resolve the above.
Thanks,
Alex
On Fri, 29 Apr 2016, Alex Goins wrote:
> > Okay I've finally gotten around to playing with these today.
>
> Thanks!!
>
> > I'm using a i915 + nouveau system with nouveau running as the master. Both
&
I meant __GL_SYNC_DISPLAY_DEVICE=.
Thanks
Alex
On Fri, 29 Apr 2016, Alex Goins wrote:
> The reference implementation in modesetting doesn't use it, but our driver
> uses
> it so that we can be aware of the outputs available on the CRTC.
>
> This allows users to set __GL_SYN
> Okay I've finally gotten around to playing with these today.
Thanks!!
> I'm using a i915 + nouveau system with nouveau running as the master. Both
> using modesetting DDX.
>
> The basics seem to work okay, but I am seeing some issues I'm not 100% sure
> are the fault of these patches.
>
>
heads in our driver.
Thanks,
Alex
On Fri, 29 Apr 2016, Dave Airlie wrote:
> On 13 April 2016 at 14:17, Alex Goins <ago...@nvidia.com> wrote:
> > Adds typedefs for (*RRStartFlippingPixmapTrackingProcPtr),
> > (*RREnableSharedPixmapFlippingProcPtr),
> > and (*RRDisable
front and back parameters to RREnableSharedPixmapFlippingProcPtr
Signed-off-by: Alex Goins <ago...@nvidia.com>
---
include/scrnintstr.h | 14 ++
randr/randrstr.h | 17 +
2 files changed, 31 insertions(+)
diff --git a/include/scrnintstr.h b/include/scrnin
).
v1: N/A
v2: N/A
v3: N/A
v4: N/A
v5: Initial commit
Signed-off-by: Alex Goins <ago...@nvidia.com>
---
hw/xfree86/drivers/modesetting/drmmode_display.c | 30 +---
1 file changed, 16 insertions(+), 14 deletions(-)
diff --git a/hw/xfree86/drivers/modesetting/drmmode_displa
t
Signed-off-by: Alex Goins <ago...@nvidia.com>
---
hw/xfree86/drivers/modesetting/driver.c | 10 --
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/hw/xfree86/drivers/modesetting/driver.c
b/hw/xfree86/drivers/modesetting/driver.c
index eb5084f..5edfd9b 100644
--- a/hw/
() of the backing bo as
part of the cleanup process.
v1: Initial commit
v2: Unchanged
v3: Refactor to do dumb_bo_destroy as part of teardown_scanout_pixmap
v4: Unchanged
v5: Refactor for previous target change
Signed-off-by: Alex Goins <ago...@nvidia.com>
---
hw/xfree86/drivers/modes
-off-by: Alex Goins <ago...@nvidia.com>
---
hw/xfree86/drivers/modesetting/driver.c | 10 +++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/hw/xfree86/drivers/modesetting/driver.c
b/hw/xfree86/drivers/modesetting/driver.c
index 987c577..e87de1a 100644
--- a/hw/xfree86/d
: Move disabling of reverse PRIME on sink to sink commit
Signed-off-by: Alex Goins <ago...@nvidia.com>
---
hw/xfree86/drivers/modesetting/driver.c | 137 +++
hw/xfree86/drivers/modesetting/drmmode_display.h | 8 +-
2 files changed, 144 insertions(+), 1 de
reduce constraints on calling
conventions.
v1: N/A
v2: N/A
v3: N/A
v4: N/A
v5: Initial commit
Signed-off-by: Alex Goins <ago...@nvidia.com>
---
hw/xfree86/drivers/modesetting/driver.c | 9 +
hw/xfree86/drivers/modesetting/drmmode_display.c | 22 ++
-off-by: Alex Goins <ago...@nvidia.com>
---
hw/xfree86/drivers/modesetting/driver.c | 36 -
1 file changed, 18 insertions(+), 18 deletions(-)
diff --git a/hw/xfree86/drivers/modesetting/driver.c
b/hw/xfree86/drivers/modesetting/driver.c
index e87de1a..7e15c18
previous commit to here
v3: Unchanged
v4: Unchanged
v5: Move flipping_active check to sink support commit
Signed-off-by: Alex Goins <ago...@nvidia.com>
---
hw/xfree86/drivers/modesetting/drmmode_display.c | 18 ++
1 file changed, 14 insertions(+), 4 deletions(-)
diff --gi
aps
internally to EnableSharedPixmapFlipping().
Don't support flipping if ms->drmmode.pageflip == FALSE.
Move flipping_active check to this commit
Signed-off-by: Alex Goins <ago...@nvidia.com>
---
hw/xfree86/drivers/modesetting/driver.c | 96 +++-
hw/xfree86/drivers/modesett
to accomodate earlier changes
Signed-off-by: Alex Goins <ago...@nvidia.com>
---
hw/xfree86/drivers/modesetting/driver.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/hw/xfree86/drivers/modesetting/driver.c
b/hw/xfree86/drivers/modesetting/driver.c
index db50aa4..987c577 100644
--
t the output property to 0 if it has to fall
back, to avoid user confusion.
Make rr(Get)PixmapSharingSyncProp() check the current value if there isn't a
pending value
v4: Unchanged
v5: Unchanged
Signed-off-by: Alex Goins <ago...@nvidia.com>
---
randr/randrstr.h
Driver Team
Alex Goins (13):
xf86: Add PRIME flipping functions to Screen
randr/xf86: Add PRIME Synchronization / Double Buffer
randr: Add ability to turn PRIME sync off
modesetting: Internal storage of scanout pixmaps
modesetting: Always tear down scanout pixmap
modesetting: Always load ms
uses it.
Refactor to use rrEnableSharedPixmapFlipping() as a substitute for
rrCrtcSetScanoutPixmap() in the flipping case.
Remove extraneous pSlaveScrPriv from DetachScanoutPixmap()
Remove extraneous protopix and pScrPriv from rrSetupPixmapSharing()
Signed-off-by: Alex Goins <
interested in feedback on the rest of the patch set; hoping to get this in
ASAP so we can target it with our driver.
Thanks,
Alex
On Tue, 8 Mar 2016, Alex Goins wrote:
> > AFAICT RRReplaceScanoutPixmap may call set_scanout_pixmap while
> > randr_crtc->scanout_pixmap is already non-NUL
> AFAICT RRReplaceScanoutPixmap may call set_scanout_pixmap while
> randr_crtc->scanout_pixmap is already non-NULL (and pointing to a
> different pixmap).
That seems to be true now that you mention it. I haven't paid that much
attention to RRReplaceScanoutPixmap(), since it doesn't seem to get
with more well-behaved DRM drivers.
Work needs to be done on UDL in order to properly support synchronized
PRIME. For now, just blacklist it, causing RandR to fall back to
unsynchronized PRIME.
v1: N/A
v2: N/A
v3: Initial commit
v4: Move check to driver.c for consistency/visibility
Signed-off-by: Alex
Signed-off-by: Alex Goins <ago...@nvidia.com>
---
hw/xfree86/drivers/modesetting/driver.c | 141 +++
hw/xfree86/drivers/modesetting/drmmode_display.h | 8 +-
2 files changed, 148 insertions(+), 1 deletion(-)
diff --git a/hw/xfree86/drivers/modesetting/driver.c
1 - 100 of 152 matches
Mail list logo