CFLAGS += $(shell $(PKG_CONFIG) --cflags libdrm_amdgpu)
LDLIBS += -lamdgpuaddr
endif
-ifdef DRV_AMLOGIC
- CFLAGS += $(shell $(PKG_CONFIG) --cflags libdrm_amlogic)
-endif
ifdef DRV_EXYNOS
CFLAGS += $(shell $(PKG_CONFIG) --cflags libdrm_exynos)
endif
ifdef DRV_I915
CFLAGS += $(shell $(PKG_CONFIG) --cflags libdrm_intel)
endif
+ifdef DRV_MESON
+ CFLAGS += $(shell $(PKG_CONFIG) --cflags libdrm_meson)
+endif
ifdef DRV_RADEON
CFLAGS += $(shell $(PKG_CONFIG) --cflags libdrm_radeon)
endif
#ifdef DRV_AMDGPU
extern const struct backend backend_amdgpu;
#endif
-#ifdef DRV_AMLOGIC
-extern const struct backend backend_amlogic;
-#endif
extern const struct backend backend_evdi;
#ifdef DRV_EXYNOS
extern const struct backend backend_exynos;
#ifdef DRV_MEDIATEK
extern const struct backend backend_mediatek;
#endif
+#ifdef DRV_MESON
+extern const struct backend backend_meson;
+#endif
#ifdef DRV_MSM
extern const struct backend backend_msm;
#endif
#ifdef DRV_AMDGPU
&backend_amdgpu,
#endif
-#ifdef DRV_AMLOGIC
- &backend_amlogic,
-#endif
&backend_evdi,
#ifdef DRV_EXYNOS
&backend_exynos,
#ifdef DRV_MEDIATEK
&backend_mediatek,
#endif
+#ifdef DRV_MESON
+ &backend_meson,
+#endif
#ifdef DRV_MSM
&backend_msm,
#endif
* found in the LICENSE file.
*/
-#ifdef DRV_AMLOGIC
+#ifdef DRV_MESON
#include "drv_priv.h"
#include "helpers.h"
static const uint32_t render_target_formats[] = { DRM_FORMAT_ARGB8888, DRM_FORMAT_XRGB8888 };
-static int amlogic_init(struct driver *drv)
+static int meson_init(struct driver *drv)
{
drv_add_combinations(drv, render_target_formats, ARRAY_SIZE(render_target_formats),
&LINEAR_METADATA, BO_USE_RENDER_MASK);
return drv_modify_linear_combinations(drv);
}
-const struct backend backend_amlogic = {
- .name = "amlogic",
- .init = amlogic_init,
+const struct backend backend_meson = {
+ .name = "meson",
+ .init = meson_init,
.bo_create = drv_dumb_bo_create,
.bo_destroy = drv_dumb_bo_destroy,
.bo_import = drv_prime_bo_import,