aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/drm
Commit message (Collapse)AuthorAgeFilesLines
* Per discussions on arch@ and elsewhere, retire drm module / drives.Warner Losh2019-02-1910-135/+0
| | | | | | | | | | | | | 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
* Revert drm2 removal.Warner Losh2018-08-2410-0/+135
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Remove legacy drm and drm2 from treeMatt Macy2018-08-2210-135/+0
| | | | | | | | | | | | | | | | | 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
* drm(old): Remove i915 and radeon driversEmmanuel Vadot2017-03-113-25/+0
| | | | | | | | | | | | | 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
* sys/modules: normalize .CURDIR-relative paths to SRCTOPEnji Cooper2017-03-0411-12/+12
| | | | | | | | | | | 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
* The radeon DRI module doesn't really work correctly on powerpc, so don't buildJustin Hibbits2015-01-031-0/+2
| | | | | | | | | | it. Hopefully we'll get radeonkms eventually. Discussed with: nwhitehorn MFC after: 2 weeks Notes: svn path=/head/; revision=276639
* Re-support CWARNFLAGS, lost when bsd.sys.mk was removed. Also, supportWarner Losh2015-01-033-3/+0
| | | | | | | | | | | 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
* Remove dependence on source tree options. Move all kernel moduleWarner Losh2014-08-111-1/+2
| | | | | | | | | | | | | | | | | | | | | 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
* Use src.opts.mk in preference to bsd.own.mk except where we need stuffWarner Losh2014-05-061-1/+1
| | | | | | | from the latter. Notes: svn path=/head/; revision=265420
* Extend dim's hack from r228978: not only clang but gcc on non-x86 platformsNathan Whitehorn2012-10-283-6/+6
| | | | | | | | | 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
* Don't try to build Linux compatibility stuff on platforms withoutNathan Whitehorn2012-10-271-1/+2
| | | | | | | COMPAT_LINUX. Notes: svn path=/head/; revision=242197
* Add MK_SOURCELESS build option. Setting MK_SOURCELESS to "no" will disableRobert Millan2012-02-041-3/+14
| | | | | | | | | | | | | | 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
* For several files in sys/dev/drm, disable -Wunused-value when buildingDimitry Andric2011-12-303-0/+12
| | | | | | | | | | | | 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
* Welcome drm support for VIA unichrome chips.Robert Noland2010-01-312-1/+24
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=203288
* Import simple drm memory manager.Robert Noland2010-01-311-0/+3
| | | | | | | | | | 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
* Add kernel support for Radeon R6/7xx 3D.Robert Noland2009-08-231-2/+2
| | | | | | | | | | 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
* Import support for ATI Radeon R600 and R700 series chips.Robert Noland2009-03-071-1/+1
| | | | | | | | | | | | | | | | | 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
* Update drm kernel drivers.Robert Noland2008-08-231-1/+1
| | | | | | | | | | | | | 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
* Merge DRM CVS as of 2005-12-02, adding i915 DRM support thanks to Alexey Popov,Eric Anholt2005-12-031-0/+1
| | | | | | | and a new r300 PCI ID. Notes: svn path=/head/; revision=153033
* Update DRM to CVS snapshot as of 2005-11-28. Notable changes:Eric Anholt2005-11-283-0/+18
| | | | | | | | | | | | | | | | - 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
* Add the latest r300 code from r300.sf.net. This is based on the patch suppliedEric Anholt2005-07-201-1/+1
| | | | | | | | | 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
* Update to DRM CVS as of 2005-04-12, bringing many changes:Eric Anholt2005-04-163-1/+42
| | | | | | | | | | | | | | | | | | | | | | | - 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
* bsd.kmod.mk does not deal with manpages anymore.Ruslan Ermilov2004-01-135-5/+0
| | | | Notes: svn path=/head/; revision=124472
* Hook the SiS DRM up to the buildEric Anholt2003-09-092-1/+10
| | | | | | | Sponsored by: LinuxFund Notes: svn path=/head/; revision=119896
* Update the DRM to latest from DRI CVS. This is approximately the versionEric Anholt2003-03-095-13/+6
| | | | | | | | | | 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
* Include "../Makefile.inc".Yoshihiro Takahashi2002-11-061-0/+3
| | | | Notes: svn path=/head/; revision=106496
* Zap KMODDEPS entries so that people do not wonder why it isn't working onPeter Wemm2002-05-013-3/+0
| | | | | | | | | -current. Apolgies to: anhold Notes: svn path=/head/; revision=95836
* Hook the DRM up to the build and add it to NOTES.Eric Anholt2002-04-285-5/+5
| | | | | | | Approved by: des Notes: svn path=/head/; revision=95607
* Add makefiles for DRM modulesEric Anholt2002-04-276-0/+53
Approved by: des Notes: svn path=/head/; revision=95586