Displaying 2 results from an estimated 2 matches for "drmmode_udev_notify".
2017 Mar 29
2
[PATCH xf86-video-nouveau] Do not register hotplug without RandR
...: Mariusz Bialonczyk <manio at skyboo.net>
---
src/drmmode_display.c | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/src/drmmode_display.c b/src/drmmode_display.c
index dd9fa27..ae29d9a 100644
--- a/src/drmmode_display.c
+++ b/src/drmmode_display.c
@@ -1556,6 +1556,15 @@ drmmode_udev_notify(int fd, int notify, void *data)
}
#endif
+static bool has_randr(void)
+{
+#if HAS_DIXREGISTERPRIVATEKEY
+ return dixPrivateKeyRegistered(rrPrivKey);
+#else
+ return *rrPrivKey;
+#endif
+}
+
static void
drmmode_uevent_init(ScrnInfoPtr scrn)
{
@@ -1564,6 +1573,12 @@ drmmode_uevent_init(ScrnInf...
2017 Mar 29
0
[PATCH xf86-video-nouveau] Do not register hotplug without RandR
...>
> ---
> src/drmmode_display.c | 15 +++++++++++++++
> 1 file changed, 15 insertions(+)
>
> diff --git a/src/drmmode_display.c b/src/drmmode_display.c
> index dd9fa27..ae29d9a 100644
> --- a/src/drmmode_display.c
> +++ b/src/drmmode_display.c
> @@ -1556,6 +1556,15 @@ drmmode_udev_notify(int fd, int notify, void *data)
> }
> #endif
>
> +static bool has_randr(void)
> +{
> +#if HAS_DIXREGISTERPRIVATEKEY
> + return dixPrivateKeyRegistered(rrPrivKey);
> +#else
> + return *rrPrivKey;
> +#endif
> +}
> +
> static void
> drmmode_uev...