diff options
| author | Alexandru Gheorghe <alexandru-cosmin.gheorghe@arm.com> | 2018-11-01 15:11:32 +0000 |
|---|---|---|
| committer | Alexandru Gheorghe <alexandru-cosmin.gheorghe@arm.com> | 2018-11-02 09:58:10 +0000 |
| commit | 9aefed1f74989eebb430fd0b0bbc3f87da33d0ec (patch) | |
| tree | 76f4cc7128b80ff062e2d3e3df664efc5d07d611 /tools/perf/scripts/python | |
| parent | drm/selftests: Add tests for drm_format_info* helpers (diff) | |
| download | linux-9aefed1f74989eebb430fd0b0bbc3f87da33d0ec.tar.gz linux-9aefed1f74989eebb430fd0b0bbc3f87da33d0ec.zip | |
drm: Add macro to export functions only when CONFIG_DRM_DEBUG_SELFTEST is enabled
If we want to be able to write drmselftests for non-static core
functions that are not intended to be used by drivers we need this
functions to be exported.
This adds a macro that is tied of CONFIG_DRM_DEBUG_SELFTEST, and uses
that to export drm_internal_framebuffer_create, in order for
subsequent patches to be able to test it.
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Alexandru Gheorghe <alexandru-cosmin.gheorghe@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181101151051.1509-7-alexandru-cosmin.gheorghe@arm.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
