From: =?UTF-8?q?Michel=20D=C3=A4nzer?= <michel.daenzer@amd.com>
Date: Wed, 12 Jun 2019 17:58:50 +0200
Subject: [PATCH libdrm] amdgpu: Compare DRM node type as well in fd_compare
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Re-using a device for a node type different from the one passed in can
break.
Bugzilla: https://bugs.freedesktop.org/110903
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
---
amdgpu/amdgpu_device.c | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)