291811 |
04-Dec-2015 |
bdrewery |
MFC r290665:
Build all of sys/modules with SUBDIR_PARALLEL. |
282217 |
29-Apr-2015 |
dumbbell |
drm: Allow parallel builds of drivers and firmwares
Submitted by: hps@ MFC of: r279600 |
282199 |
28-Apr-2015 |
dumbbell |
drm: Update the device-independent code to match Linux 3.8.13
This update brings few features: o Support for the setmaster/dropmaster ioctls. For instance, they are used to run multiple X servers simultaneously. o Support for minor devices. The only user-visible change is a new entry in /dev/dri but it is useless at the moment. This is a first step to support render nodes [1].
The main benefit is to greatly reduce the diff with Linux (at the expense of an unreadable commit diff). Hopefully, next upgrades will be easier.
No updates were made to the drivers, beside adapting them to API changes.
[1] https://en.wikipedia.org/wiki/Direct_Rendering_Manager#Render_nodes
r280814 is merged at the same time to avoid a short window where RANDR might be broken:
drm: Import Linux commit 9bc3cd5673d84d29272fa7181a4dfca83cbb48c1
Author: Ville Syrjälä <ville.syrjala@linux.intel.com> Date: Fri May 31 12:17:08 2013 +0000
drm: Sort connector modes based on vrefresh
Keeping the modes sorted by vrefresh before the pixel clock makes the mode list somehow more pleasing to the eye.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
PR: 198936 (r280814) Tested by: Many people MFC of: r280183, r280187 (original commit by glebius), r280814 Relnotes: yes |
280703 |
26-Mar-2015 |
emaste |
MFC r270572: drm/i915: Disable the build of i915 on PC98
This module is of no use on this platform. |
280369 |
23-Mar-2015 |
kib |
MFC r277487: An update for the i915 GPU driver, which brings the code up to Linux commit 4d93914ae3db4a897ead4b.
MFC r277959 (by adrian): Fix backlight for ivybridge based laptops (and whatever else comes through this codepath.)
MFC r278146: Do not attach to the unsupported chipsets, unless magic tunable is frobbed.
MFC r278147, r278148: Fix sign for the error code returned from the driver-specific code.
MFC r278152: Do not access gmbus_ports array past its end.
MFC r278159 (by emaste): Remove duplicate intel_fbc_enabled prototype. |
279978 |
14-Mar-2015 |
kib |
MFC r270571 (by dumbbell): drm/i915: Add opt_acpi.h and acpi_if.h to the source files |
275408 |
02-Dec-2014 |
tijl |
MFC r273862,273902:
Port the TTM AGP backend to the FreeBSD agp driver and enable AGP support in the radeonkms driver.
Note: In PCI mode virtual addresses on the graphics card that map to system RAM are translated to physical addresses by the graphics card itself. In AGP mode address translation is done by the AGP chipset so fictitious addresses appear on the system bus. For the CPU cache management to work correctly when the CPU accesses this memory it needs to use the same fictitious addresses (and let the chipset translate them) instead of using the physical addresses directly.
Reviewed by: kib |
271816 |
18-Sep-2014 |
dumbbell |
drm/i915: Add HW context support
This feature is required by Mesa 9.2+. Without this, a GL application crashes with the following message: # glxinfo name of display: :0.0 Gen6+ requires Kernel 3.6 or later. Assertion failed: (ctx->Version > 0), function handle_first_current, file ../../src/mesa/main/context.c, line 1498. Abort (core dumped)
Now, Mesa 10.2.4 and 10.3-rc3 works fine: # glxinfo name of display: :0 display: :0 screen: 0 direct rendering: Yes ... OpenGL renderer string: Mesa DRI Intel(R) 965GM OpenGL version string: 2.1 Mesa 10.2.4 ...
The code was imported from Linux 3.8.13.
This an MFC of r271705.
Approved by: re (glebius) Reviewed by: kib@ Tested by: kwm@, danfe@, Henry Hu, Lundberg, Johannes <johannes@brilliantservice.co.jp>, Johannes Dieterich <dieterich.joh@gmail.com>, Lutz Bichler <lutz.bichler@gmail.com>, Relnotes: yes |
266594 |
23-May-2014 |
dumbbell |
drm/radeon: Add 32bit ioctls support
This allows to run 32bit applications on a 64bit host. This was tested successfully with Wine (emulators/i386-wine-devel) and StarCraft II.
Submitted by: Jan Kokemüller <jan.kokemueller@gmail.com> |
262861 |
06-Mar-2014 |
jhb |
MFC 259016,259019,259049,259071,259102,259110,259129,259130,259178,259179, 259203,259221,259261,259532,259615,259650,259651,259667,259680,259727, 259761,259772,259776,259777,259830,259882,259915,260160,260449,260450, 260688,260888,260953,261269,261547,261551,261552,261553,261585: Merge the vt(4) driver (newcons) to stable/10.
Approved by: ray |
260495 |
09-Jan-2014 |
dim |
MFC r260102:
Similar to r260020, only use -fms-extensions with gcc, for all other modules which require this flag to compile. Use a GCC_MS_EXTENSIONS variable, defined in kern.pre.mk, which can be used to easily supply the flag (or not), depending on the compiler type.
MFC r260322:
In addition to r260102, also define GCC_MS_EXTENSIONS in bsd.sys.mk, since kernel module builds do not use kern.pre.mk. |
260321 |
05-Jan-2014 |
dim |
Revert MFC of r260102 for now, until I can merge the required fix from head. This should fix building modules which require -fms-extensions to compile them with gcc. |
260270 |
04-Jan-2014 |
dim |
MFC r260019:
For some files under sys/dev/drm2/i915, turn off warnings about unused functions and variables, since they are contributed code. |
260268 |
04-Jan-2014 |
dim |
MFC r260020:
For sys/dev/drm2/radeon, only use -fms-extensions with gcc. This flag is only to stop gcc complaining about anonymous unions, which clang does not do. For clang 3.4 however, -fms-extensions enables the Microsoft __wchar_t type, which clashes with our own types.h.
MFC r260102:
Similar to r260020, only use -fms-extensions with gcc, for all other modules which require this flag to compile. Use a GCC_MS_EXTENSIONS variable, defined in kern.pre.mk, which can be used to easily supply the flag (or not), depending on the compiler type. |
256281 |
10-Oct-2013 |
gjb |
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
254899 |
26-Aug-2013 |
dumbbell |
drm/radeon: Disable build on i386/pc98
|
254885 |
25-Aug-2013 |
dumbbell |
drm/radeon: Import the Radeon KMS driver
This driver is based on Linux 3.8 and a previous effort by kan@.
More informations about this project can be found on the FreeBSD wiki: https://wiki.freebsd.org/AMD_GPU
The driver is split into:
sys/dev/drm2: The driver sources.
sys/modules/drm2/radeonkmw: The driver main kernel module's Makefile.
sys/modules/drm2/radeonkmsfw: All firmware kernel module Makefiles. There's one directory and one Makefile for each firmware.
sys/contrib/dev/drm2/radeonkmsfw: All firmware binary sources.
tools/tools/drm/radeon Tools to update firmwares or regenerate some headers.
Merging the driver to FreeBSD 9.x may be possible but not a priority for now.
Help from: kib@, kan@ Tested by: avg@, kwm@, ray@, Alexander Yerenkow <yerenkow@gmail.com>, Anders Bolt-Evensen <andersbo87@me.com>, Denis Djubajlo <stdedjub@googlemail.com>, J.R. Oldroyd <fbsd@opal.com>, Mikaël Urankar <mikael.urankar@gmail.com>, Pierre-Emmanuel Pédron <pepcitron@gmail.com>, Sam Fourman Jr. <sfourman@gmail.com>, Wade <wade-is-great@live.com>, (probably other I forgot...) HW donations: kyzh, Yakaz
|
254817 |
24-Aug-2013 |
dumbbell |
drm: Import drm_dp_helper.c from Linux 3.8-rc3
While here, update drm_dp_helper.h to better match Linux one.
|
254794 |
24-Aug-2013 |
dumbbell |
drm: Import drm_buffer.[ch] from Linux 3.8-rc3
This will be used by the Radeon KMS driver.
|
247835 |
05-Mar-2013 |
kib |
Import the preliminary port of the TTM.
The early commit is done to facilitate the off-tree work on the porting of the Radeon driver.
Sponsored by: The FreeBSD Foundation Debugged and tested by: dumbbell MFC after: 1 month
|
247834 |
05-Mar-2013 |
kib |
Import the drm_global references helpers.
Sponsored by: The FreeBSD Foundation MFC after: 1 month
|
239375 |
18-Aug-2012 |
kib |
Add drm and i915 ioctl translations for 32 bit process on 64 bit host.
Submitted by: meowthink@gmail.com MFC after: 2 weeks
|
235847 |
23-May-2012 |
kib |
The drm2 modules makefiles commit. Still not attached to the build.
Sponsored by: The FreeBSD Foundation MFC after: 1 month
|