Am 07.12.2017 17:18 schrieb "Emil Velikov" <emil.l.veli...@gmail.com>:
On 6 December 2017 at 12:37, Daniel Martin <consume.no...@gmail.com> wrote:
> Hi all,
>
> if anyone would like to have a look, I've pushed my current work on
> the merged proto repo here:
>
On 6 December 2017 at 16:23, Gioele Barabucci <gio...@svario.it> wrote:
> Hi,
>
> 06.12.2017 13:37 Daniel Martin:
>>
>> PS: Just talked to Peter, he's okay with filter-branch as it gives us
>> git-log without a struggle and references to other commits can
Hi all,
if anyone would like to have a look, I've pushed my current work on
the merged proto repo here:
https://github.com/bartsch/xorg-proto2k/
It's generated as is with:
https://github.com/bartsch/proto2k-generator/
I used git-filter-branch to:
- move files to specific directories and
On 30 November 2017 at 14:28, Emil Velikov <emil.l.veli...@gmail.com> wrote:
> On 29 November 2017 at 13:40, Daniel Martin <consume.no...@gmail.com> wrote:
>> On 28 November 2017 at 16:51, Emil Velikov <emil.l.veli...@gmail.com> wrote:
>>> One reasonably easy
On 29 November 2017 at 15:52, Pekka Paalanen <ppaala...@gmail.com> wrote:
> On Wed, 29 Nov 2017 15:44:53 +0100
> Daniel Martin <consume.no...@gmail.com> wrote:
>
>> On 29 November 2017 at 15:01, Daniel Stone <dan...@fooishbar.org> wrote:
>> > Hi,
>
On 29 November 2017 at 15:01, Daniel Stone <dan...@fooishbar.org> wrote:
> Hi,
>
> On 28 November 2017 at 12:38, Daniel Martin <consume.no...@gmail.com> wrote:
>> On 27 November 2017 at 23:18, Peter Hutterer <peter.hutte...@who-t.net>
>> wrote:
>&
On 28 November 2017 at 16:51, Emil Velikov wrote:
> One reasonably easy way to fold the repositories [while preserving all
> the history] is via git filter-branch.
Yes, but, filter-branch rewrites the history too. As Peter stated
earlier, this breaks commit messages
On 27 November 2017 at 23:18, Peter Hutterer <peter.hutte...@who-t.net> wrote:
> On Mon, Nov 27, 2017 at 09:07:12PM +0100, Daniel Martin wrote:
>> On 22 November 2017 at 07:45, Adam Jackson <a...@nwnk.net> wrote:
>> > On Wed, 2017-11-22 at 10:25 +1000, Peter Hutter
On 22 November 2017 at 07:45, Adam Jackson wrote:
> On Wed, 2017-11-22 at 10:25 +1000, Peter Hutterer wrote:
>> On Tue, Nov 21, 2017 at 03:28:20PM -0800, Dylan Baker wrote:
>> > Your script splits each proto into a subdirectory, does it really make
>> > sense to
>> > do that, or
Hi,
I've ever wondered why are the proto headers split up into distinct
repos? (It takes "ages" to just copy (install) a few files with
autotools.)
Dylan started to add meson support, but doing this for all protos
sounds like a lot of copy'n'paste to do, lots of patches . Wouldn't it
make more
We have to re-evaluate the outputs (their ids) before
drmmode_set_desired_modes() as it triggers drmmode_set_mode_major().
drmmode_set_mode_major() working with old ids is likely to fail and will
tear down the server.
Signed-off-by: Daniel Martin <consume.no...@gmail.com>
---
hw/xfree86/d
Doing this before updating the output_ids is not a good idea as we
compare the output id in the loop and the output id is unreliable.
Signed-off-by: Daniel Martin <consume.no...@gmail.com>
---
hw/xfree86/drivers/modesetting/drmmode_display.c | 51 ++--
1 file chang
We don't do anything in drmmode_set_mode_major() without a mode. Check
it at the beginning and may bail out. With that, we can remove one
indention level. No functional changes.
Signed-off-by: Daniel Martin <consume.no...@gmail.com>
---
hw/xfree86/drivers/modesetting/drmmode_display.c
fail too.
Additionally, log the crtc id if drmModeSetCrtc() fails anyway. That id
plus KMS debug logs may help to solve potential other problems.
Signed-off-by: Daniel Martin <consume.no...@gmail.com>
---
hw/xfree86/drivers/modesetting/drmmode_display.c | 21 +
1 file c
By using a helper function it looks more streamlined and we don't do to
drmModeGetConnectorCurrent() in drmmode_handle_uevents() twice.
Signed-off-by: Daniel Martin <consume.no...@gmail.com>
---
hw/xfree86/drivers/modesetting/drmmode_display.c | 99 +++-
1 file chang
connectors is their PATH. Non-MST
connectors can be identified using their type and type id.
Signed-off-by: Daniel Martin <consume.no...@gmail.com>
---
hw/xfree86/drivers/modesetting/drmmode_display.c | 52 +---
1 file changed, 46 insertions(+), 6 deletions(-)
diff --gi
That is the connector_type, connector_type_id and path_blob. We'll
identify a connector using this information later, as the output_id is
unreliable.
Signed-off-by: Daniel Martin <consume.no...@gmail.com>
---
hw/xfree86/drivers/modesetting/drmmode_display.c | 10 +++---
hw/xfree86/d
the server down.
- We have to compare the PATH if available, as the output_id is
unreliable.
- We have to make sure, we don't throw zero outputs to configure into
drmModeSetCrtc() as this will fail and tear down the server.
Thanks,
Daniel
Daniel Martin (7):
modesetting: Check for uevents
So, we don't rely on the mode_output member.
Signed-off-by: Daniel Martin <consume.no...@gmail.com>
---
hw/xfree86/drivers/modesetting/drmmode_display.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/hw/xfree86/drivers/modesetting/drmmode_display.c
b/hw/x
So, we don't rely on the mode_output member.
Signed-off-by: Daniel Martin <consume.no...@gmail.com>
---
hw/xfree86/drivers/modesetting/drmmode_display.c | 21 +++--
1 file changed, 15 insertions(+), 6 deletions(-)
diff --git a/hw/xfree86/drivers/modesetting/drmmode_displa
No need for modes and connector status probing here.
Signed-off-by: Daniel Martin <consume.no...@gmail.com>
---
hw/xfree86/drivers/modesetting/drmmode_display.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/hw/xfree86/drivers/modesetting/drmmode_display.c
We failed to handle the mode_output member properly a few times. We can
retrieve it at any time, which we do at various places anyway. Remove
it.
Signed-off-by: Daniel Martin <consume.no...@gmail.com>
---
hw/xfree86/drivers/modesetting/drmmode_display.c | 21 -
hw/x
So, we don't rely on the mode_output member.
Signed-off-by: Daniel Martin <consume.no...@gmail.com>
---
hw/xfree86/drivers/modesetting/drmmode_display.c | 13 +++--
hw/xfree86/drivers/modesetting/drmmode_display.h | 1 +
2 files changed, 8 insertions(+), 6 deletions(-)
diff --gi
This patchset removes the mode_output member. We failed to handle it
correctly in the past and most people won't notice if the do as it
requires MST hotpluging.
Thanks,
Daniel
Daniel Martin (6):
modesetting: Save number of encoders in drmmode_output
modesetting: Retrieve drm connector
- "Failed" without a new-line is not a good log message
modesetting: Reset output_id if drmModeGetConnector failed
- mode_output strikes again
modesetting: Remove unused define DRV_ERROR
modesetting: Remove #if 0 CMAP_LOAD_EVEN_IF_OFFSCREEN
Thanks,
Daniel
Daniel Martin
Add a missing new-line character and make the message more verbose than
"Failed".
Signed-off-by: Daniel Martin <consume.no...@gmail.com>
---
hw/xfree86/drivers/modesetting/drmmode_display.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/xfree86/dri
Terminate a dead session when -once was passed. Don't restart it.
Signed-off-by: Daniel Martin <consume.no...@gmail.com>
Reviewed-by: Walter Harms <wha...@bfs.de>
---
os/xdmcp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/os/xdmcp.c b/os/xdmcp.c
index 906c9594
appear. Suggested by Emil Velikov
Reviewed-by: Emil Velikov <emil.veli...@collabora.com>
Signed-off-by: Daniel Martin <consume.no...@gmail.com>
---
hw/xfree86/os-support/linux/lnx_platform.c | 9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/hw/xfree86/os-s
Signed-off-by: Daniel Martin <consume.no...@gmail.com>
---
hw/xfree86/drivers/modesetting/driver.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/hw/xfree86/drivers/modesetting/driver.h
b/hw/xfree86/drivers/modesetting/driver.h
index 7ea500f5c..08dc3b58a 100644
--- a/hw/xfree86/d
If drmModeGetConnector() fails in drmmode_output_detect(), we have to
reset the output_id to -1 too.
Yet another spot leading to a potential NULL dereference when handling
the mode_output member as output_id was != -1. Though, this case should
be very hard to hit.
Signed-off-by: Daniel Martin
CMAP_LOAD_EVEN_IF_OFFSCREEN has been encapsulated since the import of
xf86-video-modesetting into the tree.
Signed-off-by: Daniel Martin <consume.no...@gmail.com>
---
hw/xfree86/drivers/modesetting/drmmode_display.c | 9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
diff --gi
(Sorry, for not reporting back earlier, had to do internal stuff.)
Please ignore this pathset. It's superseded by distinct patchsets I'm
going to send.
Cheers,
Daniel
___
xorg-devel@lists.x.org: X.Org development
Archives:
On 7 November 2017 at 14:06, Emil Velikov <emil.l.veli...@gmail.com> wrote:
> On 7 November 2017 at 09:38, Daniel Martin <consume.no...@gmail.com> wrote:
>> The kernel guarantees that the MST path property blob of a connector
>> has a certain format and this pr
On 7 November 2017 at 13:57, Emil Velikov <emil.l.veli...@gmail.com> wrote:
> On 7 November 2017 at 09:38, Daniel Martin <consume.no...@gmail.com> wrote:
>> ../hw/xfree86/os-support/linux/lnx_platform.c: In function ‘get_drm_info’:
>> ../hw/xfree86/os-support/linux/ln
We failed to handle the mode_output member properly a few times. We can
retrieve it at any time, which we do at various places anyway. Remove
it.
Signed-off-by: Daniel Martin <consume.no...@gmail.com>
---
hw/xfree86/drivers/modesetting/drmmode_display.c | 21 -
hw/x
No need for modes and connector status probing here.
Signed-off-by: Daniel Martin <consume.no...@gmail.com>
---
hw/xfree86/drivers/modesetting/drmmode_display.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/hw/xfree86/drivers/modesetting/drmmode_display.c
So, we don't rely on the mode_output member.
Signed-off-by: Daniel Martin <consume.no...@gmail.com>
---
hw/xfree86/drivers/modesetting/drmmode_display.c | 21 +++--
1 file changed, 15 insertions(+), 6 deletions(-)
diff --git a/hw/xfree86/drivers/modesetting/drmmode_displa
So, we don't rely on the mode_output member.
Signed-off-by: Daniel Martin <consume.no...@gmail.com>
---
hw/xfree86/drivers/modesetting/drmmode_display.c | 28 +++-
1 file changed, 13 insertions(+), 15 deletions(-)
diff --git a/hw/xfree86/drivers/modesetting/drmmode_dis
,
Daniel Martin
___
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
So, we don't rely on the mode_output member.
Signed-off-by: Daniel Martin <consume.no...@gmail.com>
---
hw/xfree86/drivers/modesetting/drmmode_display.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/hw/xfree86/drivers/modesetting/drmmode_display.c
b/hw/x
creation function.)
Signed-off-by: Daniel Martin <consume.no...@gmail.com>
---
hw/xfree86/drivers/modesetting/drmmode_display.c | 41 +---
1 file changed, 15 insertions(+), 26 deletions(-)
diff --git a/hw/xfree86/drivers/modesetting/drmmode_display.c
b/hw/xfree86/d
:9: warning: variable ‘major’
set but not used [-Wunused-but-set-variable]
int major, minor, fd;
^
Signed-off-by: Daniel Martin <consume.no...@gmail.com>
---
hw/xfree86/os-support/linux/lnx_platform.c | 9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
diff --gi
Add a missing new-line character and make the message more verbose than
"Failed".
Signed-off-by: Daniel Martin <consume.no...@gmail.com>
---
hw/xfree86/drivers/modesetting/drmmode_display.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/xfree86/dri
If drmModeGetConnector() fails in drmmode_output_detect(), we have to
reset the output_id to -1 too.
Yet another spot leading to a potential NULL dereference when handling
the mode_output member as output_id was != -1. Though, this case should
be very hard to hit.
Signed-off-by: Daniel Martin
Looks much better without gotos.
Signed-off-by: Daniel Martin <consume.no...@gmail.com>
---
hw/xfree86/drivers/modesetting/drmmode_display.c | 75 +++-
1 file changed, 34 insertions(+), 41 deletions(-)
diff --git a/hw/xfree86/drivers/modesetting/drmmode_display.c
So, we don't rely on the mode_output member.
Signed-off-by: Daniel Martin <consume.no...@gmail.com>
---
hw/xfree86/drivers/modesetting/drmmode_display.c | 13 +++--
hw/xfree86/drivers/modesetting/drmmode_display.h | 1 +
2 files changed, 8 insertions(+), 6 deletions(-)
diff --gi
Am 28.10.2017 19:16 schrieb "walter harms" <wha...@bfs.de>:
After the last patch for libXau i checked the code
with smatch and started to remove remove redundant
One redundant "remove" here. ;-)
All 3 patches are
Reviewed-by: Daniel Marti
If one misconfigures a ZaphodHeads value (more than 20 characters
without a delimiter), we get an overflow of our buffer.
Use xstrtokenize() instead of writing/fixing our own tokenizer.
Signed-off-by: Daniel Martin <consume.no...@gmail.com>
---
hw/xfree86/drivers/modesetting/drmmode_dis
Roundhouse kick replacing the various (sizeof(foo)/sizeof(foo[0])) with
the ARRAY_SIZE macro from dix.h when possible.
A semantic patch for coccinelle has been used first. Additionally, few
macros have been inlined as they had only one or two users.
Signed-off-by: Daniel Martin <consume
unsigned_tests[] was used to compute the amount of signed numbers to
test.
Signed-off-by: Daniel Martin <consume.no...@gmail.com>
---
test/signal-logging.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/signal-logging.c b/test/signal-logging.c
index 9bf39e58d..ca3
^~
Signed-off-by: Daniel Martin <consume.no...@gmail.com>
---
test/input.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/input.c b/test/input.c
index 4cd39bb48..8638f1443 100644
--- a/test/input.c
+++ b/test/input.c
@@ -230,7 +230,7 @@ dix_check_grab_val
Replace the various loops to lookup drmModeProperty(Blob)s by
introducing helper functions.
Signed-off-by: Daniel Martin <consume.no...@gmail.com>
---
hw/xfree86/drivers/modesetting/drmmode_display.c | 163 +++
1 file changed, 77 insertions(+), 86 deletions(-)
diff
And drmModeFreePropertyBlob() can handle NULL pointers, no need to check
edid_blob.
Signed-off-by: Daniel Martin <consume.no...@gmail.com>
---
hw/xfree86/drivers/modesetting/drmmode_display.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/hw/xfree86/drivers/modes
On 16 October 2017 at 07:02, Louis-Francis Ratté-Boulianne
wrote:
> To make sure we also use the same primary plane and to avoid
> mixing uses of two APIs, it is better to always use the atomic
> modesetting API when possible.
>
> Signed-off-by: Louis-Francis Ratté-Boulianne
, where it is used.
Signed-off-by: Daniel Martin <consume.no...@gmail.com>
---
hw/xfree86/drivers/modesetting/driver.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/xfree86/drivers/modesetting/driver.c
b/hw/xfree86/drivers/modesetting/driver.c
index 9afb344c8..91d850427
No need to lookup the link-status property if we don't have a crtc.
Signed-off-by: Daniel Martin <consume.no...@gmail.com>
---
hw/xfree86/drivers/modesetting/drmmode_display.c | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/hw/xfree86/drivers/modes
r from the external xf86-video-modesetting.
Signed-off-by: Daniel Martin <consume.no...@gmail.com>
---
hw/xfree86/drivers/modesetting/driver.c | 10 --
1 file changed, 10 deletions(-)
diff --git a/hw/xfree86/drivers/modesetting/driver.c
b/hw/xfree86/drivers/modesetting/driver.c
ind
reliable and can confirm that this patch
fixes the issue.
Reviewed-and-Tested-by: Daniel Martin <consume.no...@gmail.com>
> Signed-off-by: Dave Airlie <airl...@redhat.com>
> ---
> hw/xfree86/drivers/modesetting/drmmode_display.c | 3 +++
> 1 file changed, 3 insertions(+)
Am 22.02.2017 11:24 schrieb "Daniel Martin" <consume.no...@gmail.com>:
On 21 February 2017 at 17:48, walter harms <wha...@bfs.de> wrote:
> Am 20.02.2017 10:55, schrieb Daniel Martin:
>> What happens is:
>> - ServertimeBlockHandler() forwards a _big_ unsi
On 21 February 2017 at 17:48, walter harms <wha...@bfs.de> wrote:
> Am 20.02.2017 10:55, schrieb Daniel Martin:
>> What happens is:
>> - ServertimeBlockHandler() forwards a _big_ unsigned timeout to
>> AdjustWaitForDelay()
>> - AdjustWaitForDelay() takes this _bi
for negatives in ospoll_wait() as the input
thread calls it with -1.
Other thoughts: Why does the cursor move, but neither the movement or
clicks, nor pressing a modifier unlock the client?
Cheers,
Daniel Martin
___
xorg-devel@lists.x.org: X.Or
On 3 February 2017 at 01:17, Sanford Rockowitz wrote:
> Can someone point me to where in the X11 code base the the monitor is
> queried for the EDID?
For the modesetting driver case, it happens in:
hw/xfree86/drivers/modesetting/drmmode_display.c
Imho this could be picked for 1.19. Anyone willing to give his Rb?
On 30 September 2016 at 14:05, Daniel Martin <consume.no...@gmail.com> wrote:
> Terminate a dead session when -once was passed. Don't restart it.
>
> Signed-off-by: Daniel Martin <consume.no...@gmail.com>
&g
Terminate a dead session when -once was passed. Don't restart it.
Signed-off-by: Daniel Martin <consume.no...@gmail.com>
---
os/xdmcp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/os/xdmcp.c b/os/xdmcp.c
index 906c959..7aeb393 100644
--- a/os/xdmcp.c
+++ b/os/x
On 6 September 2016 at 14:48, Hans de Goede <hdego...@redhat.com> wrote:
> HI,
>
>
> On 06-09-16 14:35, Daniel Martin wrote:
>>
>> Sorry for jumping in that late ...
>>
>> On 6 September 2016 at 13:31, Hans de Goede <hdego...@redhat.com> wrot
>MaxWidth &&
cursor->bits->height <= infoPtr->MaxHeight) {
if (infoPtr->UseHWCursor)
return infoPtr->UseHWCursor(pScreen, cursor)
else
return TRUE;
}
As my comment came late and is beautifying only, feel free to ignore it.
Cheers,
Daniel Martin
___
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
s.x1 = region.extents.y1 = 0;
> +region.extents.x2 = front_priv->pixmap->drawable.width;
> +region.extents.y2 = front_priv->pixmap->drawable.width;
this looks like a copy'n'paste mistake.
> +region.data = NULL;
> +DamageRegionAppend(_priv->
On 21 February 2016 at 12:08, Adel Gadllah wrote:
> Stolen from the intel ddx driver, see:
> https://cgit.freedesktop.org/xorg/driver/xf86-video-intel/commit/?id=26fd6bec
> https://bugs.freedesktop.org/show_bug.cgi?id=37858
>
> it makes those common modes selectable when
From: Daniel Martin <consume.no...@gmail.com>
We get multiple udev events for actions like docking a laptop into its
station or plugging a monitor to the station. By consuming as much
events as we can, we reduce the number of output re-evalutions.
I.e. having a Lenovo X250 in a ThinkPad
On 21 September 2015 at 11:14, Daniel Martin <daniel.mar...@secunet.com> wrote:
> We save CurrentCursor if we're going to remove it from the screen in
> xf86CursorEnableDisableFBAccess(). But, we call xf86CursorSetCursor()
> in between, which calls FreeCursor() on Curre
On 4 November 2015 at 11:26, Daniel Martin <daniel.mar...@secunet.com> wrote:
> From: Daniel Martin <consume.no...@gmail.com>
>
> During PreInit, we just want to inherit the output states from the
> kernel. If there's a connected output without an encoder assigned,
On 10 November 2015 at 11:19, Egbert Eich wrote:
> From: Egbert Eich
>
> XdmcpFatal() calls FatalError() with '%*.*s' in the format string.
> FatalError() uses the async safe versions of printf() which only
> support a subset of the POSIX printf formats - they
From: Daniel Martin <consume.no...@gmail.com>
During PreInit, we just want to inherit the output states from the
kernel. If there's a connected output without an encoder assigned, there
must be a reason for this. Don't try to activate it, treat it as
disconnected for the moment. Because,
From: Daniel Martin <consume.no...@gmail.com>
This fixes a bug where running the card out of PPLL's when hotplugging
another monitor would result in all of the displays going blank and
failing to work properly until X was restarted or the user switched to
another VT.
[Michel Dänzer: Pass
From: Daniel Martin <consume.no...@gmail.com>
If we fail to activate an output while we're in PreInit, the server
won't startup. This might happen if we run out of lanes.
Don't try to activate any output during PreInit, which the kernel didn't
set up yet by treating them as disconnected.
From: Daniel Martin <consume.no...@gmail.com>
We calloc() output_ids. Let's free() it, too.
Signed-off-by: Daniel Martin <consume.no...@gmail.com>
---
hw/xfree86/drivers/modesetting/drmmode_display.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/hw/xfr
From: Daniel Martin <consume.no...@gmail.com>
The ifdef checks for XF86_CRTC_VERSION >= 3/5 are remnants from the
out-of-tree driver. Within the tree, we can rely on:
xf86Crtc.h:#define XF86_CRTC_VERSION 6
Signed-off-by: Daniel Martin <consume.no...@gmail.com>
---
hw/
On 26 October 2015 at 10:39, Michel Dänzer wrote:
>> diff --git a/src/drmmode_display.c b/src/drmmode_display.c
>> index 64e79d4..f0f121e 100644
>> --- a/src/drmmode_display.c
>> +++ b/src/drmmode_display.c
>> @@ -760,12 +760,15 @@ drmmode_set_mode_major(xf86CrtcPtr crtc,
>>
On 21 September 2015 at 08:16, Keith Packard wrote:
> Eliminates polling every 20ms for device input.
>
> Signed-off-by: Keith Packard
> ---
> hw/kdrive/ephyr/ephyr.c | 10 +-
> hw/kdrive/ephyr/ephyr.h | 3 ---
> hw/kdrive/ephyr/hostx.c | 6 ++
On 21 September 2015 at 08:16, Keith Packard wrote:
> This new libXfont API eliminates exposing internal X server symbols to
> the font library, replacing those with a struct full of the entire API
> needed to use that library.
>
> v2: Use libXfont2 instead of libXfont_2
>
>
On 21 September 2015 at 08:16, Keith Packard wrote:
> This allows the server to call GetTimeInMillis() after each request is
> processed to avoid needing setitimer. -dumbSched now turns off the
> setitimer.
>
> Signed-off-by: Keith Packard
> ---
>
ScreenPriv->CurrentCursor = NullCursor;
return
}
}
Signed-off-by: Daniel Martin <consume.no...@gmail.com>
---
hw/xfree86/ramdac/xf86Cursor.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/xfree86/ramdac/xf86Cursor.c b/hw/xfree86/ramdac/xf8
On 9 February 2015 at 15:09, Jon TURNEY jon.tur...@dronecode.org.uk wrote:
On 09/02/2015 14:03, Daniel Martin wrote:
On 9 February 2015 at 14:45, Jon TURNEY jon.tur...@dronecode.org.uk
wrote:
ephyr_glamor_connect() returns NULL if we failed, but applying
xcb_connection_has_error() to NULL
On 9 February 2015 at 14:45, Jon TURNEY jon.tur...@dronecode.org.uk wrote:
ephyr_glamor_connect() returns NULL if we failed, but applying
xcb_connection_has_error() to NULL is not permitted.
Signed-off-by: Jon TURNEY jon.tur...@dronecode.org.uk
---
hw/kdrive/ephyr/hostx.c | 2 +-
1 file
On 28 January 2015 at 09:32, Daniel Martin consume.no...@gmail.com wrote:
On 28 January 2015 at 08:40, Dave Airlie airl...@gmail.com wrote:
From: Dave Airlie airl...@redhat.com
This is ported from the same code in the ati and intel drivers,
It uses the same option name as nvidia
On 28 January 2015 at 08:40, Dave Airlie airl...@gmail.com wrote:
From: Dave Airlie airl...@redhat.com
This is ported from the same code in the ati and intel drivers,
It uses the same option name as nvidia and the other DDXes to
disable tearing down outputs as it is hard to avoid racing with
On 25 January 2015 at 20:22, Colin Harrison colin.harri...@virgin.net wrote:
Hi,
I much prefer Jon Turney's more universal fix to this problem.
http://lists.x.org/archives/xorg-devel/2014-November/044568.html
and having tested Jon's fix it can have
Reviewed-by: Colin Harrison
On 9 December 2014 at 08:14, Aaron Plattner aplatt...@nvidia.com wrote:
On 12/08/2014 01:01 AM, Daniel Martin wrote:
On 5 December 2014 at 17:45, Keith Packard kei...@keithp.com wrote:
Daniel Martin daniel.mar...@secunet.com writes:
From: Daniel Martin consume.no...@gmail.com
When
On 5 December 2014 at 17:45, Keith Packard kei...@keithp.com wrote:
Daniel Martin daniel.mar...@secunet.com writes:
From: Daniel Martin consume.no...@gmail.com
When receiving a hotplug uevent, check if we have to add or remove
outputs and act accordingly.
Signed-off-by: Daniel Martin
From: Daniel Martin consume.no...@gmail.com
Move the boolean glamor from struct modesetting into struct drmmode for
later re-use in drmmode_display.
Signed-off-by: Daniel Martin consume.no...@gmail.com
Reviewed-by: Eric Anholt e...@anholt.net
Reviewed-and-tested-by: Kenneth Graunke kenn
From: Daniel Martin consume.no...@gmail.com
When receiving a hotplug uevent, check if we have to add or remove
outputs.
v2: Move log message in drmmode_output_add() below 'if (!output)' to
prevent possible NULL dereference.
Signed-off-by: Daniel Martin consume.no...@gmail.com
Reviewed
From: Daniel Martin consume.no...@gmail.com
If the uevent isn't a hotplug event, ignore it, and if !vtSema postpone
the reprobing until EnterVT().
v2: Replace 'flags' member and enum with Bool 'need_reprobe'.
Signed-off-by: Daniel Martin consume.no...@gmail.com
---
hw/xfree86/drivers
:
[PATCH 9/9] modesetting: XXX - Only track connected outputs
A small patch to be able to test the functionality on HW that doesn't
hotplug outputs. Tested with an old ThinkPad T400.
Cheers,
Daniel Martin
___
xorg-devel@lists.x.org: X.Org
From: Daniel Martin consume.no...@gmail.com
If we don't glamor_egl_create_textured_screen_ext() in
drmmode_xf86crtc_resize() we end up with a black screen and no client
windows visible.
Signed-off-by: Daniel Martin consume.no...@gmail.com
Reviewed-by: Eric Anholt e...@anholt.net
Reviewed
From: Daniel Martin consume.no...@gmail.com
The message removing GPU device ... appeared even if the removal was
skipped (when path == NULL). Move it below the path check and make it a
LogMessage with config/udev prefix.
Signed-off-by: Daniel Martin consume.no...@gmail.com
Reviewed-by: Eric
From: Daniel Martin consume.no...@gmail.com
We don't define HAVE_UDEV, that's a remnant from xf86-video-modesetting.
But, we have CONFIG_UDEV_KMS.
Signed-off-by: Daniel Martin consume.no...@gmail.com
Reviewed-by: Eric Anholt e...@anholt.net
Reviewed-and-tested-by: Kenneth Graunke kenn
From: Daniel Martin consume.no...@gmail.com
drmmode_output_init() doesn't touch (the int*) num_dvi and num_hdmi.
Remove both parameters.
Signed-off-by: Daniel Martin consume.no...@gmail.com
Reviewed-by: Eric Anholt e...@anholt.net
Reviewed-and-tested-by: Kenneth Graunke kenn...@whitecape.org
This patch is not meant to be merged. Its purpose is to be able to test
the output hotplug handling on maschines that don't hotplug outputs.
With this patch an output will be added or removed depending on its
connector state (connected? - add, otherwise - remove or ignore).
---
From: Daniel Martin consume.no...@gmail.com
So, we can re-use the function for output hotplugging later.
Signed-off-by: Daniel Martin consume.no...@gmail.com
Reviewed-by: Keith Packard kei...@keithp.com
---
hw/xfree86/drivers/modesetting/drmmode_display.c | 9 +
1 file changed, 5
On Sun, Nov 30, 2014 at 12:52:24PM -0800, Eric Anholt wrote:
Daniel Martin daniel.mar...@secunet.com writes:
I've tested the modesetting driver in 1.16.99.901 and found 2 bugs that
leave you with a black screen or even crash the server. The attached
patches fix both problems, but due to my
1 - 100 of 195 matches
Mail list logo