summaryrefslogtreecommitdiff
path: root/src/intel_module.c
AgeCommit message (Collapse)Author
2020-04-21Add description for PCI-ID 0x3E98Chris Wilson
Closes: https://gitlab.freedesktop.org/xorg/driver/xf86-video-intel/-/issues/162 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2020-04-21Sync i915_pciids upto 8717c6b7414fLiwei Song
Import the kernel's i915_pciids.h, up to: commit 8717c6b7414ffb890672276dccc284c23078ac0e Author: Lee Shawn C <shawn.c.lee@intel.com> Date: Tue Dec 10 23:04:15 2019 +0800 drm/i915/cml: Separate U series pci id from origianl list. Signed-off-by: Liwei Song <liwei.song@windriver.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2019-09-19Avoid missing initializer warningVille Syrjälä
Use an empty {} as the terminator in intel_device_match[] to avoid the warning about missing initlizers. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
2019-09-19sna: Annotate more fall throughsVille Syrjälä
Sprinkle fall through comments where needed. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
2018-09-05Adding more Coffee Lake PCI IDsLiwei Song
Add more Coffeelake PCI IDs based on the following kernel patch: commit c99d7832dcd7423ba352386107118b9bd8b83158 Author: Rodrigo Vivi <rodrigo.vivi@intel.com> Date: Wed Dec 20 10:29:19 2017 -0800 drm/i915/cfl: Adding more Coffee Lake PCI IDs. Signed-off-by: Liwei Song <liwei.song@windriver.com>
2018-05-02Add Coffeelake PCI IDs for U SkusLiwei Song
Add the Coffeelake PCI IDs based on the following kernel patch: commit d29fe702c9cb682df99146d24d06e5455f043101 Author: Anusha Srivatsa <anusha.srivatsa@intel.com> Date: Thu Jun 8 16:41:07 2017 -0700 drm/i915/cfl: Add Coffee Lake PCI IDs for U Sku. Signed-off-by: Liwei Song <liwei.song@windriver.com>
2018-05-02Add Coffeelake PCI IDs for H SkusLiwei Song
Add the Coffeelake PCI IDs based on the following kernel patches: commit ccfd13215fd25a0e8c28221f3acc0dcaec11cd15 Author: Anusha Srivatsa <anusha.srivatsa@intel.com> Date: Thu Jun 8 16:41:06 2017 -0700 drm/i915/cfl: Add Coffee Lake PCI IDs for H Sku. Signed-off-by: Liwei Song <liwei.song@windriver.com>
2018-01-11Add Coffeelake PCI IDs for S SkusLiwei Song
Add the Coffeelake PCI IDs based on the following kernel patches: commit b056f8f3d6b900e8afd19f312719160346d263b4 Author: Anusha Srivatsa <anusha.srivatsa@intel.com> Date: Thu Jun 8 16:41:05 2017 -0700 drm/i915/cfl: Add Coffee Lake PCI IDs for S Skus. Signed-off-by: Liwei Song <liwei.song@windriver.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2017-02-27pciids: Update for missing Skylake IDsChris Wilson
Sync with kernel commit ca7a45ba6fb9e7ceca56d10b91db29c2f3451a2e Author: Michał Winiarski <michal.winiarski@intel.com> Date: Mon Feb 27 12:22:56 2017 +0100 drm/i915/skl: Add missing SKL ID Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2016-12-06intel: Adding Marketing names for Skylake, Kabylake and Apollolake/Broxton.Rodrigo Vivi
This commit adding all known marketing names for latest gen9 platforms. v2: On top of simplified generic string names. Cc: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
2016-12-06intel: Simplify new platform names.Rodrigo Vivi
Modern Intel (R) platforms with integrated graphics comes with common names varying the range numbers. So instead of listing all supported platforms let's start using the generic marketing strings without the numbers. And for the specific board we list it's actual marketing name if available on detection. Cc: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
2016-12-05Add Geminialke PCI IDsAnder Conselvan de Oliveira
Same ids from kernel's commit 8363e3c3947d0e22955f94a6a87e4f17ce5087b4 Author: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com> Date: Thu Nov 10 17:23:08 2016 +0200 drm/i915/glk: Add Geminilake PCI IDs Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
2016-07-14intel: Fix fd (and mem) leak when intel_scrn_create failsHans de Goede
The probe functions in intel_module.c call intel_open_device() before calling intel_scrn_create(), but if the later fails because of e.g. an allocation failure they were not cleaning up the resources claimed by intel_open_device(), esp. leaking the fd is a problem because this breaks the fallback to the modesetting driver. This commit fixes this by adding a intel_close_device() cleanup function and calling that when intel_scrn_create() fails. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2015-11-19Add Kabylake PCI IDsWayne Boyer
Add the Kabylake PCI IDs based on the following kernel patches: commit d97044b661d0d56b2a2ae9b2b95ab0b359b417dc Author: Deepak S <deepak.s@intel.com> Date: Wed Oct 28 12:19:51 2015 -0700 drm/i915/kbl: Add Kabylake PCI ID commit 8b10c0cf21ec84618d4bf02c73c0543500ece68d Author: Deepak S <deepak.s@intel.com> Date: Wed Oct 28 12:21:12 2015 -0700 drm/i915/kbl: Add Kabylake GT4 PCI ID Cc: Rodrigo Vivi <rodrigo.vivi@intel.com> Cc: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Wayne Boyer <wayne.boyer@intel.com> [ickle: Copy across the real i915_pciids.h from the kernel]
2015-06-11Add Broxton PCI idsDamien Lespiau
Syncs up to kernel commit ee87697f8bc4da0aea6fe1a825c734fb5e4a5b3b Author: Damien Lespiau <damien.lespiau@intel.com> Date: Fri May 15 19:43:56 2015 +0100 drm/i915/bxt: Update the Broxton PCI ids and, importantly, including kernel commit 1347f5b46a270db1991625f9f57af91e23a4b512 Author: Damien Lespiau <damien.lespiau@intel.com> Date: Tue Mar 17 11:39:27 2015 +0200 drm/i915/bxt: Add BXT PCI id Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2015-05-16intel: Prevent crash with X -configureChris Wilson
When run with -configure, xf86configptr is NULL, so be careful and do not dereference it. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2015-04-16intel: Fix inconsistent captilisation of "graphics"Chris Wilson
As we treat it as a name we should capitilize each word, but we forgot that rule (sometimes!) for Broadwell. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2015-04-16intel: Add marketing names for CHVVille Syrjälä
All CHV devices will be branded as "Intel(r) HD Graphics". Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
2015-01-31intel: Try to load one AccelMethod if the .conf doesn't matchChris Wilson
If you mistype or make the wrong selection in the AccelMethod override, you can end up with a non-booting system, so lets always try to start something! Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-11-06Remove defunct glamor supportChris Wilson
It never was a stable or complete replacement, and now it is incorporated in Xorg itself! Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-10-08intel: Store pointer to struct intel_deviceChris Wilson
Beware the barbarians at the gate, who invade and steal your ScrnInfoPtr and its Entity from underneath you. In some configurations, we lose access to the struct intel_device stored on the Entity after initialisation, causing havoc. Workaround this by storing the intel_device that we open in our driverPrivate. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-09-26Add Skylake PCI IDsChris Wilson
From kernel commit 72bbf0af0c76cbefe9cecbd2ed670b7555e03625 Author: Damien Lespiau <damien.lespiau@intel.com> Date: Wed Feb 13 15:27:37 2013 +0000 drm/i915/skl: Add the Skylake PCI ids Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-08-05intel: Use NOACCEL to avoid a symbol clash on old XorgChris Wilson
Old Xorg xf86str.h defines NONE preventing us from using it within an enum. Use NOACCEL instead. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-07-27configure: Expose no acceleration by default (--with-default-accel=none)Chris Wilson
Why? I am not sure, but it seems equally as valid as allowing the switch to uxa/glamor as default. The runtime equivalent is Option "AccelMethod". Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-07-23Fix compile failure on old Xorg with XF86_ALLOCATE_GPU_SCREENChris Wilson
Sigh, a late fix was not compile checked against xorg-1.7. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-07-23sna: Disable all outputs when initializing as a slaved output providerChris Wilson
When we are constructed as a slaved device, we need to disable all outputs or else they are not correctly hooked into the master device upon startup. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-06-30intel: Use the i845 info structure for INTEL_I845G_IDS()Damien Lespiau
I assume the intention was to provide a different structure for each of the gen 2 devices. This doesn't change anything really. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2014-06-24Add marketing names for BroadwellRodrigo Vivi
Even the unknown/reserved ones will stay with HD Graphics. v2: Add missing names to intel.man and README files as well. (Chris) Cc: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
2014-06-24intel: Add a note about the myriad places we have identifier stringsChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-05-16intel: Update PCI IDs for CherryviewChris Wilson
Copied from kernel commit 7d87a7f709650bde4d7d63117f25ee1c095da5dd Author: Ville Syrjälä <ville.syrjala@linux.intel.com> Date: Wed Apr 9 18:19:04 2014 +0300 srm/i915/chv: Add Cherryview PCI IDs and also includes non-functional changes from commit fd3c269f8ff940cc0fbb3b7f7e84c0572f6f759a Author: Zhao Yakui <yakui.zhao@intel.com> Date: Thu Apr 17 10:37:35 2014 +0800 drm/i915: Split the BDW device definition to prepare for dual BSD rings on BDW GT3 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-03-11intel: Fix versioning of SUPPORTS_SERVER_FDChris Wilson
The current snapshot is 1.15.99.901, which means that the new feature will first be available in 1.15.99.902. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-03-10intel: Add support for server managed fdsHans de Goede
In the post-modern world, the platform device nodes are handed to a non-privileged Xserver by systemd/logind. We can then query the core for our assigned fd rather than try to open the device for ourselves (which would fail when trying to obtain DRM_MASTER status). A consequence is that we then do not directly control DRM_MASTER status and must act as a delegate of systemd. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2014-01-28Allow selection of glamor as the default acceleration methodChris Wilson
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=74162 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-12-11intel: Recognise gen8Chris Wilson
Assign gen=8 to the Broadwell PCI IDs, no marketing names are known at this point in time. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-12-04intel: Tidy up driver identification stringChris Wilson
Split the identification strings between the older integrated graphic chipsets and the more recent integrated processor graphics. This helps to emphasis the recent branding and should reduce confusion about which processors are supported by the driver. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-11-12Add identification strings for new AtomsChris Wilson
All of the new Atom (Baytrail) products ship with "HD Graphics". Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-10-03intel: Allow opening the device only through platform informationChris Wilson
Only fail to open the device based on the PCI address, if and only if we do not have sufficient platform information to find the correct system device. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-10-03intel: Handle fallback probing without match_dataChris Wilson
One extreme fallback path through the xf86PlatformProbe results in a call without any match data. As we have a device by this point, we can simply do a reverse match. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-10-03intel: Remove dependence upon having PciInfoChris Wilson
After some probing mechanisms, we may end up with a valid device without knowing its PCI address a priori. Having a valid device, we can just query it for the correct device id, and can safely abort any path that requires PCI information that we don't have. (Those paths are not valid under such hosting anyway - if it may be required, we could reconstruct the address.) Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-10-03intel: And restore PlatformProbe to working orderChris Wilson
In the saga of the untested WIP patches for hosted device probing, was the failure in logic to detect a valid device during probing. Yikes. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-10-02intel: Pass the platform device along to the open routinesChris Wilson
This allows us to pass along more metadata along with the platform device in future. Currently we pass the device path, but in a hosted environment we should be passing along the authorized fd from the host. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-09-18intel: Compile fixes for base install of SLED11.sp3Chris Wilson
Highlights of that distribution include xorg-xserver-1.6.5, kernel 3.0.76 and gcc-4.3. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-09-04configure: Check for required UMS headers before enablingChris Wilson
Prevents the build failing with i810 if we can not find vgaHW.h Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-12intel: Check for HW_SKIP_CONSOLE before useChris Wilson
For the older xserver. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-09intel: Disable incompatible features whilst hostedChris Wilson
Start adding the infrastructure to disable direct hardware access if X is being run under a system compositor (aka "hosted"). Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-07-30Suppress a bunch of compiler warnings for using constant stringsChris Wilson
We want these allocated in ro memory even if the antique API complains. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-07-28intel: Remove some unused macrosChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-07-28uxa: Clear up the common intel directoryChris Wilson
Move all the UXA backend specifc files into their own subdirectory. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-07-28intel: Only print the unique chipset namesChris Wilson
When printing out the list of supported chipsets, remove the (many times) repeated names as they are very confusing and obscure the product name you may be searching for. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-07-28intel: Replace the codename in the user facing string for unknown Haswell partsChris Wilson
For these parts we do not yet known the correct marketing name, so replace our use of the codename with the generic term. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>