summaryrefslogtreecommitdiff
path: root/sys/modules/drm
AgeCommit message (Collapse)Author
2019-02-19Per discussions on arch@ and elsewhere, retire drm module / drives.Warner Losh
Retire the drm modules / drivers. These are now handled by the drm-legacy-kmod port and/or the drm-kmod port. All future development and maintanace will be handled there. Approved by: graphics team Reviewed by: manu@, mmel@ Differential Revision: https://reviews.freebsd.org/D19196 Notes: svn path=/head/; revision=344297
2018-08-24Revert drm2 removal.Warner Losh
Revert r338177, r338176, r338175, r338174, r338172 After long consultations with re@, core members and mmacy, revert these changes. Followup changes will be made to mark them as deprecated and prent a message about where to find the up-to-date driver. Followup commits will be made to make this clear in the installer. Followup commits to reduce POLA in ways we're still exploring. It's anticipated that after the freeze, this will be removed in 13-current (with the residual of the drm2 code copied to sys/arm/dev/drm2 for the TEGRA port's use w/o the intel or radeon drivers). Due to the impending freeze, there was no formal core vote for this. I've been talking to different core members all day, as well as Matt Macey and Glen Barber. Nobody is completely happy, all are grudgingly going along with this. Work is in progress to mitigate the negative effects as much as possible. Requested by: re@ (gjb, rgrimes) Notes: svn path=/head/; revision=338285
2018-08-22Remove legacy drm and drm2 from treeMatt Macy
As discussed on the MLs drm2 conflicts with the ports' version and there is no upstream for most if not all of drm. Both have been merged in to a single port. Users on powerpc, 32-bit hardware, or with GPUs predating Radeon and i915 will need to install the graphics/drm-legacy-kmod. All other users should be able to use one of the LinuxKPI-based ports: graphics/drm-stable-kmod, graphics/drm-next-kmod, graphics/drm-devel-kmod. MFC: never Approved by: core@ Notes: svn path=/head/; revision=338172
2017-03-11drm(old): Remove i915 and radeon driversEmmanuel Vadot
They cannot be used anymore with the userland bits we provide. Furthermore, their KMS versions support the same hardware. Submitted by: dumbbell Reviewed by: emaste, manu Sponsored by: AsiaBSDCon Differential Revision: https://reviews.freebsd.org/D5614 Notes: svn path=/head/; revision=315045
2017-03-04sys/modules: normalize .CURDIR-relative paths to SRCTOPEnji Cooper
This simplifies make output/logic Tested with: `cd sys/modules; make ALL_MODULES=` on amd64 MFC after: 1 month Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=314651
2015-01-03The radeon DRI module doesn't really work correctly on powerpc, so don't buildJustin Hibbits
it. Hopefully we'll get radeonkms eventually. Discussed with: nwhitehorn MFC after: 2 weeks Notes: svn path=/head/; revision=276639
2015-01-03Re-support CWARNFLAGS, lost when bsd.sys.mk was removed. Also, supportWarner Losh
CWARNFALGS.$file centrally so we don't have to have it in all the places. Remove a few warning flags that are no longer needed. Also, always use -Wno-unknown-pragma to (hopefully temporarily) work around #pragma ident in debug.h in the opensolaris code. Remove some stale warning suppression that's no longer necessary. Notes: svn path=/head/; revision=276606
2014-08-11Remove dependence on source tree options. Move all kernel moduleWarner Losh
options into kern.opts.mk and change all the places where we use src.opts.mk to pull in the options. Conditionally define SYSDIR and use SYSDIR/conf/kern.opts.mk instead of a CURDIR path. Replace all instances of CURDIR/../../etc with STSDIR, but only in the affected files. As a special compatibility hack, include bsd.owm.mk at the top of kern.opts.mk to allow the bare build of sys/modules to work on older systems. If the defaults ever change between 9.x, 10.x and current for these options, however, you'll wind up with the host OS' defaults rather than the -current defaults. This hack will be removed when we no longer need to support this build scenario. Reviewed by: jhb Differential Revision: https://phabric.freebsd.org/D529 Notes: svn path=/head/; revision=269812
2014-05-06Use src.opts.mk in preference to bsd.own.mk except where we need stuffWarner Losh
from the latter. Notes: svn path=/head/; revision=265420
2012-10-28Extend dim's hack from r228978: not only clang but gcc on non-x86 platformsNathan Whitehorn
warns about unused variables in this code, so always add -Wno-unused to the warning flags. Why gcc on x86 *doesn't* warn about this, I will never know. The code itself should probably be fixed at some point. Notes: svn path=/head/; revision=242203
2012-10-27Don't try to build Linux compatibility stuff on platforms withoutNathan Whitehorn
COMPAT_LINUX. Notes: svn path=/head/; revision=242197
2012-02-04Add MK_SOURCELESS build option. Setting MK_SOURCELESS to "no" will disableRobert Millan
kernel modules that include binary-only code. More fine-grained control is provided via MK_SOURCELESS_HOST (for native code that runs on host CPU) and MK_SOURCELESS_UCODE (for microcode). Reviewed by: julian, delphij, freebsd-arch Approved by: kib (mentor) MFC after: 2 weeks Notes: svn path=/head/; revision=230972
2011-12-30For several files in sys/dev/drm, disable -Wunused-value when buildingDimitry Andric
with clang. There are several macros in these files that return values, and in some cases nothing is done with them, but it is completely harmless. For some other files, also disable -Wconstant-conversion, since that triggers a false positive with the DMA_BIT_MASK() macro. MFC after: 1 week Notes: svn path=/head/; revision=228978
2010-01-31Welcome drm support for VIA unichrome chips.Robert Noland
MFC after: 2 weeks Notes: svn path=/head/; revision=203288
2010-01-31Import simple drm memory manager.Robert Noland
This is required for the VIA driver and at least some parts are needed for GEM. MFC after: 2 weeks Notes: svn path=/head/; revision=203287
2009-08-23Add kernel support for Radeon R6/7xx 3D.Robert Noland
You will still need Mesa from git and possibly an updated DDX driver, but this is working fairly well now. MFC after: 2 weeks Notes: svn path=/head/; revision=196470
2009-03-07Import support for ATI Radeon R600 and R700 series chips.Robert Noland
Tested on an HD3850 (RV670) on loan from Warren Block. Currently, you need one of the following for this to be useful: x11-drivers/xf86-video-radeonhd-devel (not tested) xf86-video-ati from git (EXA works, xv is too fast) xf86-video-radeonhd from git (EXA works, xv works) There is no 3d support available from dri just yet. MFC after: 2 weeks Notes: svn path=/head/; revision=189499
2008-08-23Update drm kernel drivers.Robert Noland
This is a sync to mesa/drm pre-gem, with a few fixes on top of that. It also contains one local patch supplied by kib@ that I can't apply to git.master shared code. Approved by: flz Obtained from: mesa/drm git.master MFC after: 2 weeks Notes: svn path=/head/; revision=182080
2005-12-03Merge DRM CVS as of 2005-12-02, adding i915 DRM support thanks to Alexey Popov,Eric Anholt
and a new r300 PCI ID. Notes: svn path=/head/; revision=153033
2005-11-28Update DRM to CVS snapshot as of 2005-11-28. Notable changes:Eric Anholt
- S3 Savage driver ported. - Added support for ATI_fragment_shader registers for r200. - Improved r300 support, needed for latest r300 DRI driver. - (possibly) r300 PCIE support, needs X.Org server from CVS. - Added support for PCI Matrox cards. - Software fallbacks fixed for Rage 128, which used to render badly or hang. - Some issues reported by WITNESS are fixed. - i915 module Makefile added, as the driver may now be working, but is untested. - Added scripts for copying and preprocessing DRM CVS for inclusion in the kernel. Thanks to Daniel Stone for getting me started on that. Notes: svn path=/head/; revision=152909
2005-07-20Add the latest r300 code from r300.sf.net. This is based on the patch suppliedEric Anholt
by Vladimir Dergachev for inclusion in DRM CVS, with minor modifications for FreeBSD CVS and the appropriate license from Nicolai Haehnle on r300_reg.h. Fixes hangs when using r300.sf.net userland, tested on a Radeon 9600 on amd64. Notes: svn path=/head/; revision=148211
2005-04-16Update to DRM CVS as of 2005-04-12, bringing many changes:Eric Anholt
- Split core DRM routines back into their own module, rather than using the nasty templated system like before. - Development-class R300 support in radeon driver (requires userland pieces, of course). - Mach64 driver (haven't tested in a while -- my mach64s no longer fit in the testbox). Covers Rage Pros, Rage Mobility P/M, Rage XL, and some others. - i915 driver files, which just need to get drm_drv.c fixed to allow attachment to the drmsub device. Covers i830 through i915 integrated graphics. - savage driver files, which should require minimal changes to work. Covers the Savage3D, Savage IX/MX, Savage 4, ProSavage. - Support for color and texture tiling and HyperZ features of Radeon. Thanks to: scottl (much p4 handholding) Jung-uk Kim (helpful prodding) PR: [1] kern/76879, [2] kern/72548 Submitted by: [1] Alex, lesha at intercaf dot ru [2] Shaun Jurrens, shaun at shamz dot net Notes: svn path=/head/; revision=145132
2004-01-13bsd.kmod.mk does not deal with manpages anymore.Ruslan Ermilov
Notes: svn path=/head/; revision=124472
2003-09-09Hook the SiS DRM up to the buildEric Anholt
Sponsored by: LinuxFund Notes: svn path=/head/; revision=119896
2003-03-09Update the DRM to latest from DRI CVS. This is approximately the versionEric Anholt
included in XFree86 4.3, but includes some fixes. Notable changes include Radeon 8500-9100 support, PCI Radeon/Rage 128 support, transform & lighting support for Radeons, and vblank syncing support for r128, radeon, and mga. The gamma driver was removed due to lack of any users. Notes: svn path=/head/; revision=112015
2002-11-06Include "../Makefile.inc".Yoshihiro Takahashi
Notes: svn path=/head/; revision=106496
2002-05-01Zap KMODDEPS entries so that people do not wonder why it isn't working onPeter Wemm
-current. Apolgies to: anhold Notes: svn path=/head/; revision=95836
2002-04-28Hook the DRM up to the build and add it to NOTES.Eric Anholt
Approved by: des Notes: svn path=/head/; revision=95607
2002-04-27Add makefiles for DRM modulesEric Anholt
Approved by: des Notes: svn path=/head/; revision=95586