[Mesa-dev] [PATCH] targets/va: export radeon winsys_create functions
Nicolai Hähnle
nhaehnle at gmail.com
Tue Apr 4 14:49:54 UTC 2017
On 03.04.2017 12:09, Marek Olšák wrote:
> I've changed the commit message to "targets: export radeon
> winsys_create functions to silence LLVM warning".
Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>
>
> Marek
>
> On Mon, Apr 3, 2017 at 12:08 PM, Marek Olšák <maraeo at gmail.com> wrote:
>> From: Marek Olšák <marek.olsak at amd.com>
>>
>> It silences the following radeonsi LLVM warning due to a previous
>> commit adding an LLVM workaround:
>> "mesa: for the -simplifycfg-sink-common option: may only occur zero or one
>> times!"
>>
>> Cc: 17.0 <mesa-stable at lists.freedesktop.org>
>> ---
>> src/gallium/targets/omx/omx.sym | 5 +++++
>> src/gallium/targets/pipe-loader/pipe.sym | 5 +++++
>> src/gallium/targets/va/va.sym | 5 +++++
>> 3 files changed, 15 insertions(+)
>>
>> diff --git a/src/gallium/targets/omx/omx.sym b/src/gallium/targets/omx/omx.sym
>> index af22aed..e8a2876 100644
>> --- a/src/gallium/targets/omx/omx.sym
>> +++ b/src/gallium/targets/omx/omx.sym
>> @@ -1,6 +1,11 @@
>> {
>> global:
>> omx_component_library_Setup;
>> +
>> + # Workaround for an LLVM warning with -simplifycfg-sink-common
>> + # due to LLVM being initialized multiple times.
>> + radeon_drm_winsys_create;
>> + amdgpu_winsys_create;
>> local:
>> *;
>> };
>> diff --git a/src/gallium/targets/pipe-loader/pipe.sym b/src/gallium/targets/pipe-loader/pipe.sym
>> index b2fa619..605cb83 100644
>> --- a/src/gallium/targets/pipe-loader/pipe.sym
>> +++ b/src/gallium/targets/pipe-loader/pipe.sym
>> @@ -1,7 +1,12 @@
>> {
>> global:
>> driver_descriptor;
>> swrast_driver_descriptor;
>> +
>> + # Workaround for an LLVM warning with -simplifycfg-sink-common
>> + # due to LLVM being initialized multiple times.
>> + radeon_drm_winsys_create;
>> + amdgpu_winsys_create;
>> local:
>> *;
>> };
>> diff --git a/src/gallium/targets/va/va.sym b/src/gallium/targets/va/va.sym
>> index c925b2e..917c3d3 100644
>> --- a/src/gallium/targets/va/va.sym
>> +++ b/src/gallium/targets/va/va.sym
>> @@ -1,6 +1,11 @@
>> {
>> global:
>> __vaDriverInit_*_*;
>> +
>> + # Workaround for an LLVM warning with -simplifycfg-sink-common
>> + # due to LLVM being initialized multiple times.
>> + radeon_drm_winsys_create;
>> + amdgpu_winsys_create;
>> local:
>> *;
>> };
>> --
>> 2.7.4
>>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
--
Lerne, wie die Welt wirklich ist,
Aber vergiss niemals, wie sie sein sollte.
More information about the mesa-dev
mailing list