[Mesa-dev] [PATCH] configure.ac: don't require DRM and GBM for surfaceless egl platform
Michel Dänzer
michel at daenzer.net
Tue Oct 18 07:25:33 UTC 2016
On 18/10/16 01:47 AM, Marek Olšák wrote:
> From: Deepak Sharma <Deepak.Sharma at amd.com>
>
> This allows building radeonsi driver for surfaceless platform.
>
> Signed-off-by: Deepak Sharma <Deepak.Sharma at amd.com>
> Signed-off-by: Marek Olšák <marek.olsak at amd.com>
> ---
> configure.ac | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/configure.ac b/configure.ac
> index b414edd..05e4bdc 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -2345,27 +2345,30 @@ gallium_require_llvm() {
> esac
> fi
> }
>
> gallium_require_drm_loader() {
> if test "x$need_pci_id$have_pci_id" = xyesno; then
> AC_MSG_ERROR([Gallium drm loader requires libudev >= $LIBUDEV_REQUIRED or sysfs])
> fi
> }
>
> -dnl This is for Glamor. Skip this if OpenGL is disabled.
> +dnl This is for Glamor. Skip this if OpenGL is disabled or surfaceless EGL platform is enabled.
> require_egl_drm() {
The function name should be updated to reflect what it does now.
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Mesa and X developer
More information about the mesa-dev
mailing list