The amdgpu_device for a device node needs its own dup'ed fd, instead
of using the original fd passed in for a screen, to make multi-x-screen
ZaphodHeads configurations work on amdgpu.
The original fd's lifetime differs from that of the amdgpu_device, and from the
one stored in the hash. The hash k
On Tue, Jul 14, 2015 at 4:08 AM, Michel Dänzer wrote:
> From: Dave Airlie
>
> Signed-off-by: Dave Airlie
>
> (Ported from radeon commit b6d871bf299c7d0f106c07ee4d8bd3b2337f53cc)
>
> Signed-off-by: Michel Dänzer
Reviewed-by: Alex Deucher
> ---
> src/amdgpu_kms.c | 4
> src/drmmode_
From: Dave Airlie
Signed-off-by: Dave Airlie
(Ported from radeon commit b6d871bf299c7d0f106c07ee4d8bd3b2337f53cc)
Signed-off-by: Michel Dänzer
---
src/amdgpu_kms.c | 4
src/drmmode_display.c | 4 +++-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/src/amdgpu_kms.c b/