Re: [PATCH 2/7] xf86drm: Add function to retrieve char device path

2021-06-02 Thread Andrey Grodzovsky
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

Re: [PATCH 2/7] xf86drm: Add function to retrieve char device path

2021-06-02 Thread Simon Ser
Do we really need to make this a public API?

[PATCH 2/7] xf86drm: Add function to retrieve char device path

2021-06-01 Thread Andrey Grodzovsky
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