[PATCH libdrm] intel: use drm namespace for exported functions

Emil Velikov emil.l.velikov at gmail.com
Thu Sep 6 14:44:51 UTC 2018


On 6 September 2018 at 14:52, Eric Engestrom <eric.engestrom at intel.com> wrote:
> And add them to the list of exported function to fix the tests.
>
> Fixes: 4e81d4f9c9b7fd6510cf "intel: add generic functions to check PCI ID"
> Cc: Lucas De Marchi <lucas.demarchi at intel.com>
> Cc: Rodrigo Vivi <rodrigo.vivi at intel.com>
> Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
> ---
> Lucas, I'm assuming you meant to export those functions (and macros,
> like `IS_GEN11()`), right?
> If so, you need to namespace them, and add them to the list of allowed
> exports.

The function isn't one part of the public API.
So I'd keep the name and add the drm_private notation (adds visibility=hidden)

-Emil


More information about the dri-devel mailing list