It calls drmNodeIsDRM which is private function itself so - if i
implement it in amdgpu part
I still need to expose drmNodeIsDRM. Note that this function is
basically a subset of drmGetDeviceNameFromFd2
Andrey
On 2021-06-02 5:16 a.m., Simon Ser wrote:
Do we really need to make this a public A
Do we really need to make this a public API?
Used to access device controls
Signed-off-by: Andrey Grodzovsky
---
xf86drm.c | 23 +++
xf86drm.h | 1 +
2 files changed, 24 insertions(+)
diff --git a/xf86drm.c b/xf86drm.c
index edfeb347..a5ecd323 100644
--- a/xf86drm.c
+++ b/xf86drm.c
@@ -4361,6 +4361,29 @@ drm_public ch