Re: [PATCH xserver] cursor: add hw cursor support for prime

2016-09-06 Thread Hans de Goede
Hi, On 06-09-16 05:12, Keith Packard wrote: Hans de Goede writes: +if (!dixPrivatesCreated(PRIVATE_CURSOR)) +dixRegisterScreenPrivateKey(, pScreen, +PRIVATE_CURSOR, 0); + I don't understand what you're trying to do here;

Re: [PATCH xserver] cursor: add hw cursor support for prime

2016-09-06 Thread Hans de Goede
Hi, On 06-09-16 03:30, Michel Dänzer wrote: On 05/09/16 10:42 PM, Hans de Goede wrote: Hi, Subject should have contained v4, resending so that we've the right version in patchwork. Sorry. Hmm, for some reason I'm not receiving your recent patches from the mailing list, though I can see them

Re: [PATCH xserver] cursor: add hw cursor support for prime

2016-09-05 Thread Keith Packard
Hans de Goede writes: > +if (!dixPrivatesCreated(PRIVATE_CURSOR)) > +dixRegisterScreenPrivateKey(, pScreen, > +PRIVATE_CURSOR, 0); > + I don't understand what you're trying to do here; you're only registering the screen

Re: [PATCH xserver] cursor: add hw cursor support for prime

2016-09-05 Thread Michel Dänzer
On 05/09/16 10:42 PM, Hans de Goede wrote: > Hi, > > Subject should have contained v4, resending so that we've > the right version in patchwork. Sorry. Hmm, for some reason I'm not receiving your recent patches from the mailing list, though I can see them in the list archives and in patchwork.

Re: [PATCH xserver] cursor: add hw cursor support for prime

2016-09-05 Thread Hans de Goede
Hi, Subject should have contained v4, resending so that we've the right version in patchwork. Sorry. Regards, Hans On 05-09-16 15:37, Hans de Goede wrote: From: Dave Airlie Currently with PRIME if we detect a secondary GPU, we switch to using SW cursors, this isn't

[PATCH xserver] cursor: add hw cursor support for prime

2016-09-05 Thread Hans de Goede
From: Dave Airlie Currently with PRIME if we detect a secondary GPU, we switch to using SW cursors, this isn't optimal, esp for the intel/nvidia combinations, we have no choice for the USB offload devices. This patch checks on each slave screen if hw cursors are enabled, and