[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87infk5b7o.fsf@keithp.com>
Date: Thu, 12 Oct 2017 14:04:59 -0700
From: "Keith Packard" <keithp@...thp.com>
To: Daniel Vetter <daniel@...ll.ch>, linux-kernel@...r.kernel.org,
Dave Airlie <airlied@...hat.com>,
dri-devel@...ts.freedesktop.org
Subject: Re: [PATCH 2/6] drm: Allow render nodes to query display objects
Daniel Vetter <daniel@...ll.ch> writes:
> One more that came up on irc after discussion why this is needed: The
> userspace side using this won't work on split gpus where the render node
> has 0 displays, and hence where you really need to query the compositor
> anyway.
Agreed -- using the X connection to get the information should let this
work on split systems. Within the Vulkan code, I already have to move
objects from the render node to the display node. Hrm. That exposes a
weakness in the kms_display extension I've proposed; that only allows
you to pass a single fd. Passing separate display and render fds through
that interface seems like a pretty useful change.
--
-keith
Download attachment "signature.asc" of type "application/pgp-signature" (833 bytes)
Powered by blists - more mailing lists