head	1.2;
access;
symbols
	netbsd-11-0-RC3:1.2
	netbsd-11-0-RC2:1.2
	netbsd-11-0-RC1:1.2
	perseant-exfatfs-base-20250801:1.2
	netbsd-11:1.2.0.8
	netbsd-11-base:1.2
	netbsd-10-1-RELEASE:1.1
	perseant-exfatfs-base-20240630:1.2
	perseant-exfatfs:1.2.0.6
	perseant-exfatfs-base:1.2
	netbsd-10-0-RELEASE:1.1
	netbsd-10-0-RC6:1.1
	netbsd-10-0-RC5:1.1
	netbsd-10-0-RC4:1.1
	netbsd-10-0-RC3:1.1
	netbsd-10-0-RC2:1.1
	thorpej-ifq:1.2.0.4
	thorpej-ifq-base:1.2
	thorpej-altq-separation:1.2.0.2
	thorpej-altq-separation-base:1.2
	netbsd-10-0-RC1:1.1
	netbsd-10:1.1.0.4
	netbsd-10-base:1.1
	bouyer-sunxi-drm:1.1.0.2
	bouyer-sunxi-drm-base:1.1;
locks; strict;
comment	@# @;


1.2
date	2023.06.03.09.09.14;	author lukem;	state Exp;
branches;
next	1.1;
commitid	aBaIRnuykonRStrE;

1.1
date	2022.07.17.15.36.05;	author riastradh;	state Exp;
branches;
next	;
commitid	JwRegQV6iknnlgMD;


desc
@@


1.2
log
@bsd.own.mk: rename GCC_NO_* to CC_WNO_*

Rename compiler-warning-disable variables from
	GCC_NO_warning
to
	CC_WNO_warning
where warning is the full warning name as used by the compiler.

GCC_NO_IMPLICIT_FALLTHRU is CC_WNO_IMPLICIT_FALLTHROUGH

Using the convention CC_compilerflag, where compilerflag
is based on the full compiler flag name.
@
text
@# $NetBSD: Makefile,v 1.1 2022/07/17 15:36:05 riastradh Exp $

.include "../Makefile.inc"
.include "../drmkms/Makefile.inc"

KMOD=	drmkms_ttm

.PATH:	${S}/external/bsd/drm2/ttm
.PATH:	${S}/external/bsd/drm2/dist/drm/ttm

CPPFLAGS+=	-DCONFIG_AGP=1

WARNS=	3

COPTS.ttm_bo.c+=	${CC_WNO_IMPLICIT_FALLTHROUGH}

CWARNFLAGS+=		-Wno-missing-field-initializers
CWARNFLAGS+=		-Wno-shadow

SRCS+=	ttm_agp_backend.c
SRCS+=	ttm_memory.c
SRCS+=	ttm_tt.c
SRCS+=	ttm_bo.c
SRCS+=	ttm_bo_util.c
SRCS+=	ttm_bo_vm.c
SRCS+=	ttm_module.c
#SRCS+=	ttm_object.c
#SRCS+=	ttm_lock.c
SRCS+=	ttm_execbuf_util.c
#SRCS+=	ttm_page_alloc.c
SRCS+=	ttm_bo_manager.c
#SRCS+=	ttm_page_alloc_dma.c
SRCS+=	ttm_bus_dma.c

.include <bsd.kmodule.mk>
@


1.1
log
@drm: Modularize ttm.
@
text
@d1 1
a1 1
# $NetBSD$
d15 1
a15 1
COPTS.ttm_bo.c+=	${GCC_NO_IMPLICIT_FALLTHRU}
@

