Re: [Mesa-dev] [PATCH v2] radv: implement VK_EXT_sample_locations

2019-06-21 Thread Marek Olšák
Gfx10 remembers sample positions in compressed Z/S memory, so the hw doesn't need the decompress pass for shader loads. Marek On Wed, May 22, 2019 at 4:20 PM Marek Olšák wrote: > The depth decompress pass needs to know the sample locations. > > If shader loads read from compressed depth, the te

[Mesa-dev] [PATCH] android: virgl: fix generated virgl_driinfo.h building rules

2019-06-21 Thread Mauro Rossi
Changelog in Android makefile: - Add LOCAL_MODULE_CLASS, intermediates and LOCAL_GENERATED_SOURCES - Use LOCAL_EXPORT_C_INCLUDE_DIRS to export $(intermediates) path - Move generated header rules before 'include $(BUILD_STATIC_LIBRARY)' Fixes the following building error: In file included from ext

Re: [Mesa-dev] [PATCH] ac: change ac_query_gpu_info() signatures

2019-06-21 Thread Marek Olšák
On Fri, Jun 21, 2019 at 1:13 PM Emil Velikov wrote: > From: Emil Velikov > > Currently libdrm_amdgpu provides a typedef of the various handles. While > the goal was to make those opaque, it effectively became part of the API > > To the best of my knowledge there are two ways to have opaque handl

Re: [Mesa-dev] [PATCH 5/6] gallium/util: Make it possible to disable persistent maps in the upload manager

2019-06-21 Thread Marek Olšák
Reviewed-by: Marek Olšák Marek On Wed, Jun 19, 2019 at 4:42 AM Thomas Hellström (VMware) < tho...@shipmail.org> wrote: > From: Thomas Hellstrom > > For svga, the use of persistent / coherent maps is typically slightly > slower than without them. It's probably a bit case-dependent and > possibl

Re: [Mesa-dev] [PATCH 1/2] panfrost: Kill the perf counters interface

2019-06-21 Thread Alyssa Rosenzweig
Both patches pushed :) ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [PATCH 2/9] panfrost: Report UBO count

2019-06-21 Thread Alyssa Rosenzweig
We look at the highest set bit in the UBO enable mask to work out the maximum indexable UBO, i.e. the UBO count as we need to report to the hardware. Signed-off-by: Alyssa Rosenzweig --- src/gallium/drivers/panfrost/pan_context.c | 17 +++-- 1 file changed, 15 insertions(+), 2 deleti

[Mesa-dev] [PATCH 1/9] panfrost: Constant buffer refactor

2019-06-21 Thread Alyssa Rosenzweig
We refactor panfrost_constant_buffer to mirror v3d's constant buffer handling, to enable UBOs as well as a single set of uniforms. Signed-off-by: Alyssa Rosenzweig --- src/gallium/drivers/panfrost/pan_context.c | 66 ++ src/gallium/drivers/panfrost/pan_context.h | 6 +- 2 fi

[Mesa-dev] [PATCH 5/9] panfrost: Identify "uniform buffer count" bits

2019-06-21 Thread Alyssa Rosenzweig
We've known about this for a while, but it was never formally in the machine header files / decoder, so let's add them in. Signed-off-by: Alyssa Rosenzweig --- .../drivers/panfrost/include/panfrost-job.h| 15 +++ src/gallium/drivers/panfrost/pan_context.c | 18 +--

[Mesa-dev] [PATCH 3/9] panfrost: Allow for dynamic UBO count

2019-06-21 Thread Alyssa Rosenzweig
We already uploaded UBOs, but only a fixed number (1) for uniforms; let's upload as many as we compute we need. Signed-off-by: Alyssa Rosenzweig --- src/gallium/drivers/panfrost/pan_context.c | 27 +- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/src/gallium

[Mesa-dev] [PATCH 6/9] panfrost: Handle disabled/empty UBOs

2019-06-21 Thread Alyssa Rosenzweig
Prevents an assert(0) later in this (not so edge) case. We still have to have a dummy there. Signed-off-by: Alyssa Rosenzweig --- src/gallium/drivers/panfrost/pan_context.c | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/panfrost/pan_context

[Mesa-dev] [PATCH 0/9] panfrost: Initial UBO implementation

2019-06-21 Thread Alyssa Rosenzweig
This implements loads from direct vec4-aligned fields in UBOs. More future work is needed for indirect or unaligned loads (just compiler changes), but the core command stream work is handled here. Alyssa Rosenzweig (9): panfrost: Constant buffer refactor panfrost: Report UBO count panfrost:

[Mesa-dev] [PATCH 4/9] panfrost: Upload UBOs

2019-06-21 Thread Alyssa Rosenzweig
Now that all the counting is sorted, it's a matter of passing along a GPU address and going. Signed-off-by: Alyssa Rosenzweig --- src/gallium/drivers/panfrost/pan_context.c | 31 ++ 1 file changed, 31 insertions(+) diff --git a/src/gallium/drivers/panfrost/pan_context.c b/s

[Mesa-dev] [PATCH 8/9] panfrost: DRY between shader stage setup

2019-06-21 Thread Alyssa Rosenzweig
Just a little spring cleanup, extending UBOs to vertex shaders in the process. Signed-off-by: Alyssa Rosenzweig --- src/gallium/drivers/panfrost/pan_context.c | 55 ++ 1 file changed, 36 insertions(+), 19 deletions(-) diff --git a/src/gallium/drivers/panfrost/pan_context.c

[Mesa-dev] [PATCH 7/9] panfrost/midgard: Implement UBO reads

2019-06-21 Thread Alyssa Rosenzweig
UBOs and uniforms now use a common code path with an explicit `index` argument passed, enabling UBO reads. Signed-off-by: Alyssa Rosenzweig --- .../panfrost/midgard/midgard_compile.c| 65 +++ 1 file changed, 51 insertions(+), 14 deletions(-) diff --git a/src/gallium/driv

[Mesa-dev] [PATCH 9/9] panfrost: Allow up to 16 UBOs

2019-06-21 Thread Alyssa Rosenzweig
This is the hardware max, as far as I can tell. Signed-off-by: Alyssa Rosenzweig --- src/gallium/drivers/panfrost/pan_screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/panfrost/pan_screen.c b/src/gallium/drivers/panfrost/pan_screen.c index 5d3acc0a

Re: [Mesa-dev] [PATCH 2/8] amd/rtld: update the ELF representation of LDS symbols

2019-06-21 Thread Bas Nieuwenhuizen
Marek, I thought you also r-b'd this? Either way r-b. On Thu, Jun 20, 2019 at 6:20 AM Marek Olšák wrote: > > From: Nicolai Hähnle > > The initial prototype used a processor-specific symbol type, but > feedback suggests that an approach using processor-specific section > name that encodes the al

Re: [Mesa-dev] [PATCH 5/8] radeonsi: don't set spi_ps_input_* for monolithic shaders

2019-06-21 Thread Bas Nieuwenhuizen
Doesn't this cause assertions in si_shader_ps() for monolithic shaders? Some of these assertions check that at least one bit in a group is set and I think we end up with input_ena = 0 for monolithic shaders now? On Thu, Jun 20, 2019 at 6:20 AM Marek Olšák wrote: > > From: Marek Olšák > > The dri

[Mesa-dev] [Bug 99781] Some Unity games fail assertion on startup in glXCreateContextAttribsARB

2019-06-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99781 --- Comment #21 from Hal Gentz --- I just spotted that this got reopened today when going through my emails for the first time in forever... this is unfortunate. I'll take another swing at this sometime next week using Uli Schlachter's new propo

[Mesa-dev] Possible bug in nir_algebraic?

2019-06-21 Thread Ian Romanick
I have encountered what I believe to be a bug in nir_algebraic. Since the rewrite to use automata, I'm not sure how to begin debugging it. I'm looking for some suggestions... even if the suggestion is, "Fix your patterns." I have added a pattern like: (('~fadd@32', ('fmul', ('fadd', 1.0, ('fn

[Mesa-dev] [Bug 99781] Some Unity games fail assertion on startup in glXCreateContextAttribsARB

2019-06-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99781 Hal Gentz changed: What|Removed |Added Assignee|mesa-dev@lists.freedesktop. |zegen...@protonmail.com |o

[Mesa-dev] radeonsi: glmark2 - regression (GL_INVALID_OPERATION in glFramebufferTexture2D) since your work around 2019-06-05

2019-06-21 Thread Dieter Nützel
Hello Emil, I see glmark2 - [desktop] blur-radius=5 libpng warning: iCCP: known incorrect sRGB profile Mesa: User error: GL_INVALID_OPERATION in glFramebufferTexture2D(window-system framebuffer) [desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 4879 FrameTime: 0.205 m

[Mesa-dev] [Bug 110603] Blocky and black opacity/alpha using RADV on some games

2019-06-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110603 --- Comment #7 from Samuel Pitoiset --- Can you record a renderdoc capture of the problem please? -- You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug.

[Mesa-dev] [Bug 110662] shadow artifacts in Assassin's Creed: Unity

2019-06-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110662 soredake changed: What|Removed |Added CC||fds...@krutt.org -- You are receiving this

[Mesa-dev] Eager to work on Mesa Project under XorgEVoC

2019-06-21 Thread PRIYANSHU VARSHNEY
Hello Xorg Community! My name is Priyanshu Varshney. a* fourth-year* student at *Indian Institute of Technology (IIT)*, Indore, India. I am eager to work on writing an advanced configuration tool for Mesa drivers and thus I want to know the possible mentors for the project so that I can start divin

[Mesa-dev] XDC 2019: Less than three weeks to go to submit your talks, workshops or demos!

2019-06-21 Thread Mark Filion
Hello! Less than three weeks to go to submit your talks, workshops or demos for this year's X.Org Developer Conference, which will be taking place in Montréal, Canada on October 2-4, 2019! The 2019 X.Org Developers Conference is the annual technical meeting for X Window System and Free Desktop de

Re: [Mesa-dev] [PATCH 1/3] panfrost: Print a backtrace if there is one

2019-06-21 Thread Rohan Garg
Hey > Good stuff, but isn't this change making us hit assertions? Hm, I thought it only enabled debugging symbols. Do you have a recommendation on how to enable debug symbols but not enabling assertions? Cheers Rohan Garg ___ mesa-dev mailing list me

Re: [Mesa-dev] [PATCH 2/3] panfrost: Make the gitlab-ci.yml file more robust

2019-06-21 Thread Rohan Garg
On Friday, 21 June 2019 07:40:02 CEST Tomeu Vizoso wrote: > On 6/20/19 6:33 PM, Rohan Garg wrote: > >> Not sure I understand how this works. Isn't this going to cause > >> unnecessary container builds? > >> > >> And, why cannot developers just add whatever they want to DEBIAN_TAG > >> to that end?

Re: [Mesa-dev] [PATCH 1/3] panfrost: Print a backtrace if there is one

2019-06-21 Thread Tomeu Vizoso
On 6/21/19 12:23 PM, Rohan Garg wrote: Hey Good stuff, but isn't this change making us hit assertions? Hm, I thought it only enabled debugging symbols. Do you have a recommendation on how to enable debug symbols but not enabling assertions? I think assertions should be limited to the most ba

[Mesa-dev] [PATCH] panfrost: ci: Fix parsing of crashed tests

2019-06-21 Thread Tomeu Vizoso
Without this fix, LAVA isn't parsing crashes as failed tests, because the shell logging is interspersed within the fake deqp output. Signed-off-by: Tomeu Vizoso --- src/gallium/drivers/panfrost/ci/deqp-runner.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/

[Mesa-dev] [PATCH 1/1] panfrost: Use mir_foreach_instr_in_block_safe

2019-06-21 Thread Rohan Garg
Use the _safe version as asserted by gallium Signed-off-by: Rohan Garg --- src/gallium/drivers/panfrost/midgard/midgard_schedule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/panfrost/midgard/midgard_schedule.c b/src/gallium/drivers/panfrost/midgard/m

Re: [Mesa-dev] [PATCH] panfrost: ci: Fix parsing of crashed tests

2019-06-21 Thread Alyssa Rosenzweig
A-b ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [PATCH] panfrost: Track buffer initialization

2019-06-21 Thread Alyssa Rosenzweig
We want to know if a given slice of a buffer is initialized at a particular point in the execution of the program. This is accomplished easily enough -- start out uninitialized and upon an operation writing to the buffer, mark it initialized. The motivation is to optimize away expensive operations

[Mesa-dev] [PATCH 0/3] panfrost/midgard: Merge constants

2019-06-21 Thread Alyssa Rosenzweig
Just a fun optimization, shaves some cycles off glmark shaders. Alyssa Rosenzweig (3): panfrost/midgard: Share swizzle/mask code panfrost/midgard: Share swizzle compose panfrost/midgard: Merge embedded constants .../drivers/panfrost/midgard/helpers.h| 60 + .../panfrost

[Mesa-dev] [PATCH 2/3] panfrost/midgard: Share swizzle compose

2019-06-21 Thread Alyssa Rosenzweig
Signed-off-by: Alyssa Rosenzweig --- .../drivers/panfrost/midgard/helpers.h| 29 +++ .../drivers/panfrost/midgard/midgard_ra.c | 9 +- 2 files changed, 30 insertions(+), 8 deletions(-) diff --git a/src/gallium/drivers/panfrost/midgard/helpers.h b/src/gallium/dri

[Mesa-dev] [PATCH 0/2] panfrost: Implement rasterizer discard

2019-06-21 Thread Alyssa Rosenzweig
Now that scoreboarding is working, this is trivial. Alyssa Rosenzweig (2): panfrost: Implement rasterizer discard panfrost: Conditionally submit fragment job src/gallium/drivers/panfrost/pan_context.c | 14 -- src/gallium/drivers/panfrost/pan_drm.c | 5 - 2 files changed

Re: [Mesa-dev] [PATCH 4/8] radeonsi: set the calling convention for inlined function calls

2019-06-21 Thread Bas Nieuwenhuizen
r-b On Thu, Jun 20, 2019 at 6:19 AM Marek Olšák wrote: > > From: Marek Olšák > > otherwise the behavior is undefined > --- > src/amd/common/ac_llvm_build.c | 8 > src/amd/common/ac_llvm_build.h | 3 +++ > src/gallium/drivers/radeonsi/si_c

[Mesa-dev] [PATCH 1/3] panfrost/midgard: Share swizzle/mask code

2019-06-21 Thread Alyssa Rosenzweig
Signed-off-by: Alyssa Rosenzweig --- .../drivers/panfrost/midgard/helpers.h| 31 +++ .../panfrost/midgard/midgard_compile.c| 29 - 2 files changed, 31 insertions(+), 29 deletions(-) diff --git a/src/gallium/drivers/panfrost/midgard/helpers.h b/src

[Mesa-dev] [PATCH 2/2] panfrost: Conditionally submit fragment job

2019-06-21 Thread Alyssa Rosenzweig
If there are no tiling jobs and no clears, there is no need to submit a fragment job (relevant for transform feedback). Signed-off-by: Alyssa Rosenzweig --- src/gallium/drivers/panfrost/pan_drm.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/panfrost

[Mesa-dev] [PATCH 3/3] panfrost/midgard: Merge embedded constants

2019-06-21 Thread Alyssa Rosenzweig
In Midgard, a bundle consists of a few ALU instructions. Within the bundle, there is room for an optional 128-bit constant; this constant is shared across all instructions in the bundle. Unfortunately, many instructions want a 128-bit constant all to themselves (how selfish!). If we run out of spa

[Mesa-dev] [PATCH 1/2] panfrost: Implement rasterizer discard

2019-06-21 Thread Alyssa Rosenzweig
D'aww, look cute that is now that scoreboarding is setup. Signed-off-by: Alyssa Rosenzweig --- src/gallium/drivers/panfrost/pan_context.c | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/panfrost/pan_context.c b/src/gallium/drivers/panfrost

Re: [Mesa-dev] [PATCH 6/8] radeonsi: flatten the switch for DPBB tunables

2019-06-21 Thread Bas Nieuwenhuizen
r-b On Thu, Jun 20, 2019 at 6:20 AM Marek Olšák wrote: > > From: Marek Olšák > > --- > .../drivers/radeonsi/si_state_binning.c| 18 -- > 1 file changed, 4 insertions(+), 14 deletions(-) > > diff --git a/src/gallium/drivers/radeonsi/si_state_binning.c > b/src/gallium/dri

Re: [Mesa-dev] [PATCH] panfrost: Implement command stream scoreboarding

2019-06-21 Thread Tomeu Vizoso
On 6/20/19 8:20 PM, Alyssa Rosenzweig wrote: This is a rather complex change, adding a lot of code but ideally cleaning up quite a bit as we go. Within a batch (single frame), there are multiple distinct Mali job types: SET_VALUE, VERTEX, TILER, FRAGMENT for the few that we emit right now (event

Re: [Mesa-dev] [PATCH] panfrost: Implement command stream scoreboarding

2019-06-21 Thread Alyssa Rosenzweig
> Very nice, this will fix a few tests. Ah, of course :) > Good riddance! To be fair, a lot of that just got moved in with panfrost_job.. :) > Can we remove now the has_draws arg? Maybe? The has_draws arg controls a lot of things beyond just, you know, having draws. The whole API there nee

Re: [Mesa-dev] [PATCH] panfrost: Implement command stream scoreboarding

2019-06-21 Thread Tomeu Vizoso
On 6/21/19 3:05 PM, Alyssa Rosenzweig wrote: Very nice, this will fix a few tests. Ah, of course :) Good riddance! To be fair, a lot of that just got moved in with panfrost_job.. :) Can we remove now the has_draws arg? Maybe? The has_draws arg controls a lot of things beyond just, y

Re: [Mesa-dev] [PATCH v2 7/9] radv: clear the depth/stencil resolve attachment if necessary

2019-06-21 Thread Bas Nieuwenhuizen
r-b On Wed, Jun 12, 2019 at 11:44 AM Samuel Pitoiset wrote: > > The driver might need to clear one aspect of the depth/stencil > resolve attachment before performing the resolve itself. > > Signed-off-by: Samuel Pitoiset > --- > src/amd/vulkan/radv_meta_clear.c | 73

Re: [Mesa-dev] [PATCH v2 6/9] radv: decompress HTILE if the resolve src image is compressed

2019-06-21 Thread Bas Nieuwenhuizen
We only need this if the HTILE is not tc-compat? Otherwise the read side is independent of compute/fragment shader. On Wed, Jun 12, 2019 at 11:44 AM Samuel Pitoiset wrote: > > It's required to decompress HTILE before resolving with the > compute path. > > v2: - do proper layout transitions >

[Mesa-dev] [PATCH 1/2] panfrost: Kill the perf counters interface

2019-06-21 Thread Boris Brezillon
The DRM driver has a dummy implementation and the non-drm backend is gone, so let's kill this perf counter interface. Signed-off-by: Boris Brezillon --- src/gallium/drivers/panfrost/pan_context.c | 14 -- src/gallium/drivers/panfrost/pan_drm.c | 14 -- src/gallium/dri

[Mesa-dev] [PATCH 2/2] panfrost: Kill the panfrost_driver abstraction

2019-06-21 Thread Boris Brezillon
The non-drm backend is gone and there's no plan to bring it back to life. Let's get rid of the panfrost_driver abstraction and call the panfrost_drm_xxx() functions directly. Signed-off-by: Boris Brezillon --- src/gallium/drivers/panfrost/pan_afbc.c | 2 +- src/gallium/drivers/panfrost/pan

[Mesa-dev] Proposal for the future of www.mesa3d.org

2019-06-21 Thread Erik Faye-Lund
A while back, Laura and Jean was working on a Sphinx-conversion of the mesa-documentation. Sadly this work stranded due to it also trying to move to using GitLab Pages for hosting www.mesa3d.org, and because the documentation and the websit eis the same thing, this lead to problems with hosting the

Re: [Mesa-dev] [PATCH] panfrost: Implement command stream scoreboarding

2019-06-21 Thread Rohan Garg
On Thursday, 20 June 2019 20:20:38 CEST Alyssa Rosenzweig wrote: > This is a rather complex change, adding a lot of code but ideally > cleaning up quite a bit as we go. > > Within a batch (single frame), there are multiple distinct Mali job > types: SET_VALUE, VERTEX, TILER, FRAGMENT for the few t

[Mesa-dev] [PATCH] radv: add support for VK_AMD_buffer_marker

2019-06-21 Thread Samuel Pitoiset
This simple extension might be useful for debugging purposes. GAPID has support for it. Signed-off-by: Samuel Pitoiset --- A simple crucible test: https://gitlab.freedesktop.org/mesa/crucible/merge_requests/47 src/amd/vulkan/radv_cmd_buffer.c | 35 +++ src/amd/vulk

[Mesa-dev] [ANNOUNCE] Mesa 19.1.1 release candidate

2019-06-21 Thread Juan A. Suarez Romero
Hello list, The candidate for the Mesa 19.1.1 is now available. Currently we have: - 27 queued - 0 nominated (outstanding) - and 0 rejected patch The current queue consists mostly in fixes for different drivers (RADV, ANV, Nouveau, Virgl, V3D, R300g, ...) The queue also contains different fi

Re: [Mesa-dev] [PATCH 1/2] panfrost: Kill the perf counters interface

2019-06-21 Thread Alyssa Rosenzweig
R-b, that's long overdue seeing as the DRM driver has a totally different (better? :) ) interface anyway (Thank you!) signature.asc Description: PGP signature ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailma

Re: [Mesa-dev] [PATCH 2/2] panfrost: Kill the panfrost_driver abstraction

2019-06-21 Thread Alyssa Rosenzweig
Oh, nice! I'm going to give this a tentative Reviewed-by. The changes themselves look good (and there shouldn't be functional changes). I do want this to happen; I just need to give some thought to ensuring that yes, this is really what we want to do. I'm having troubles thinking of when we might

[Mesa-dev] [PATCH 1/3] gallium/util: rewrite depth-stencil blit shaders

2019-06-21 Thread Marek Olšák
From: Marek Olšák - merge all 3 functions (Z, S, ZS) - don't write the color output - read the value from texel.x, then write it to position.z or stencil.y (don't use the value from texel.y or texel.z) --- src/gallium/auxiliary/util/u_blitter.c| 19 +- src/gallium/auxiliary/util/u_sim

[Mesa-dev] [PATCH 2/3] gallium/u_blitter: implement copying from ZS to color and vice versa

2019-06-21 Thread Marek Olšák
From: Marek Olšák This is for drivers that can't map depth and stencil and need to blit them to a color texture for CPU access. This also useful for drivers using separate depth and stencil. --- src/gallium/auxiliary/tgsi/tgsi_opcode_tmp.h | 6 + src/gallium/auxiliary/util/u_blitter.c

[Mesa-dev] [PATCH 3/3] radeonsi: use a fragment shader blit instead of DB->CB copy for ZS CPU mappings

2019-06-21 Thread Marek Olšák
From: Marek Olšák This mainly removes and simplifies code that is no longer needed. There were some issues with the DB->CB stencil copy on gfx10, so let's just use a fragment shader blit for all ZS mappings. It's more reliable. --- src/gallium/drivers/radeonsi/si_blit.c| 29 +--- src/galli

[Mesa-dev] [PATCH] ac: change ac_query_gpu_info() signatures

2019-06-21 Thread Emil Velikov
From: Emil Velikov Currently libdrm_amdgpu provides a typedef of the various handles. While the goal was to make those opaque, it effectively became part of the API To the best of my knowledge there are two ways to have opaque handles: - "typedef void *foo;" - rather messy IMHO - "stuct foo;"