diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-02-05 02:25:01 +0000 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-02-07 01:50:16 +0000 |
commit | 8f9f99d84d88b5ed7ee93d3e80fc00c281149201 (patch) | |
tree | 783d44a1ed1c5dd72116d00eb51892934b0967fb /src/gallium | |
parent | 5b6f522fc29f4c8bbadd0466b6f61c1876c95807 (diff) |
kmsro: Move DRM entrypoints to shared block
As kmsro allows an essentially mix-and-match hodgepodge of display
drivers and renderonly GPUs, it doesn't make sense to couple the display
driver entrypoint definition with the driver. Instead, we move *all*
kmsro entrypoints to a shared kmsro block at the end (avoiding clutter
and distraction since this list may snowball in the future).
v2: Alphabetize driver list.
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/targets/dri/target.c | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/src/gallium/targets/dri/target.c b/src/gallium/targets/dri/target.c index 17484ced979..8acec0c819d 100644 --- a/src/gallium/targets/dri/target.c +++ b/src/gallium/targets/dri/target.c @@ -77,21 +77,11 @@ DEFINE_LOADER_DRM_ENTRYPOINT(v3d) #if defined(GALLIUM_VC4) DEFINE_LOADER_DRM_ENTRYPOINT(vc4) -#if defined(GALLIUM_KMSRO) -DEFINE_LOADER_DRM_ENTRYPOINT(hx8357d) -DEFINE_LOADER_DRM_ENTRYPOINT(pl111) -#endif #endif #if defined(GALLIUM_PANFROST) DEFINE_LOADER_DRM_ENTRYPOINT(panfrost) -#if defined(GALLIUM_KMSRO) -DEFINE_LOADER_DRM_ENTRYPOINT(rockchip) -DEFINE_LOADER_DRM_ENTRYPOINT(meson) #endif -#endif - - #if defined(GALLIUM_ETNAVIV) DEFINE_LOADER_DRM_ENTRYPOINT(imx_drm) @@ -101,3 +91,11 @@ DEFINE_LOADER_DRM_ENTRYPOINT(etnaviv) #if defined(GALLIUM_TEGRA) DEFINE_LOADER_DRM_ENTRYPOINT(tegra); #endif + +#if defined(GALLIUM_KMSRO) +DEFINE_LOADER_DRM_ENTRYPOINT(hx8357d) +DEFINE_LOADER_DRM_ENTRYPOINT(meson) +DEFINE_LOADER_DRM_ENTRYPOINT(pl111) +DEFINE_LOADER_DRM_ENTRYPOINT(rockchip) +#endif + |