[PATCH v3 1/1] drm/amdgpu: export gfx config double offchip LDS buffers (v3)

Emil Velikov emil.l.velikov at gmail.com
Mon Feb 20 15:58:12 UTC 2017


On 20 February 2017 at 15:22, Mao, David <David.Mao at amd.com> wrote:
> Thanks for the Info, but it seems the PACKAGE_VERSION is not the version i am looking for.
> Is there any ways that libdrm.so/libdrm_amdgpu.so can provide in the runtime to indicate the ABI state besides the SO_VERSION?
> I may want to compile the driver against the latest libdrm but still hope it can co-work with previous version libdrm/libdrm_amdgpu.
> Is it not supported?
>
If you want to break the ABI you must bump the SONAME version. Not
that bad of idea, but should you _explicitly_ ensure that say no API
gets removed.

Before you ask - there's [at least] two components which link against
libdrm_amdgpu.so and have unresolved/unsolved symbols. If any symbol
gets removed existing, these packages will break.

This is how things broke with nouveau and you don't want to repeat that.

Tl;Dr; I'd opt for Christian's suggestion ;-)

Regards,
Emil


More information about the amd-gfx mailing list