[go: nahoru, domu]

History log of /drivers/gpu/drm/nouveau/core/engine/device/base.c
Revision Date Author Comments
996f5a08235b27a7adcd01fe2b3f79e2f0f20ced 11-Aug-2014 Ben Skeggs <bskeggs@redhat.com> drm/nouveau/core: pass related object into notify constructor

The event source types/index might need to be derived from it.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
95484b57265caa671a57efed06e322d56461774b 09-Aug-2014 Ben Skeggs <bskeggs@redhat.com> drm/nouveau/ltc: s/ltcg/ltc/ + cleanup

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
648d4dfde721885737b33a06f2b73ee125acf271 09-Aug-2014 Ben Skeggs <bskeggs@redhat.com> drm/nouveau/disp: audit and version display classes

The full object interfaces are about to be exposed to userspace, so we
need to check for any security-related issues and version the structs
to make it easier to handle any changes we may need in the future.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
586491e6fc27f1783081955fd26d70789ddb3a07 09-Aug-2014 Ben Skeggs <bskeggs@redhat.com> drm/nouveau/device: audit and version NV_DEVICE class

The full object interfaces are about to be exposed to userspace, so we
need to check for any security-related issues and version the structs
to make it easier to handle any changes we may need in the future.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
803c1787efd379110963db360fbe06ed0b41197e 09-Aug-2014 Ben Skeggs <bskeggs@redhat.com> drm/nouveau/client: add method to retrieve device list

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9c210f378f7cee5f1a5eabe5a78c5ec98251cb5b 09-Aug-2014 Ben Skeggs <bskeggs@redhat.com> drm/nouveau/core: remove NV_D0 family

The one place where it mattered has been replaced with a class check,
which is more appropriate anyway.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
d01c3092f065810b9f6cd8cc9918713f48884f46 09-Aug-2014 Ben Skeggs <bskeggs@redhat.com> drm/nouveau/device: add method to retrieve some basic device info

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
79ca27706a034b683196c85f5c6901b78e5ab8f0 09-Aug-2014 Ben Skeggs <bskeggs@redhat.com> drm/nouveau/core: rework event interface

This is a lot of prep-work for being able to send event notifications
back to userspace. Events now contain data, rather than a "something
just happened" signal.

Handler data is now embedded into a containing structure, rather than
being kmalloc()'d, and can optionally have the notify routine handled
in a workqueue.

Various races between suspend/unload with display HPD/DP IRQ handlers
automagically solved as a result.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
fd1496a0fc77f955317d6ca511f66a9e788e7e02 31-Jul-2014 Alexandre Courbot <acourbot@nvidia.com> drm/nouveau: map pages using DMA API

The DMA API is the recommended way to map pages no matter what the
underlying bus is. Use the DMA functions for page mapping and remove
currently existing wrappers.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
ed76a87057597492708694e9440b63bca40c6fa1 12-Jun-2014 Ben Skeggs <bskeggs@redhat.com> drm/nouveau/device: register for acpi events

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
420b94697722512a2c0732970dc1530197a49adb 17-Feb-2014 Alexandre Courbot <acourbot@nvidia.com> support for platform devices

Upcoming mobile Kepler GPUs (such as GK20A) use the platform bus instead
of PCI to which Nouveau is tightly dependent. This patch allows Nouveau
to handle platform devices by:

- abstracting PCI-dependent functions that were typically used for
resource querying and page mapping,
- introducing a nv_device_is_pci() function that allows to make
PCI-dependent code conditional,
- providing a nouveau_drm_platform_probe() function that takes a GPU
platform device to be probed.

Core code as well as engine/subdev drivers are updated wherever possible
to make use of these functions. Some older drivers are too dependent on
PCI to be properly updated, but all newer code on which future chips may
depend should at least be runnable with platform devices.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
3f204647cd9ede1bc39a4f19a3d374e11455814f 24-Feb-2014 Ben Skeggs <bskeggs@redhat.com> drm/gm100/device: recognise GM107

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
61b365a505d625734be9ac54066fe4700672abc9 27-Nov-2013 Ben Skeggs <bskeggs@redhat.com> drm/nouveau: populate master subdev pointer only when fully constructed

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9838366c1597dfd8fe5663ad02024adce2fa07fe 17-Oct-2013 Ben Skeggs <bskeggs@redhat.com> drm/nouveau/device: initial control object class, with pstate control methods

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
aa4d7a4d55ab375b2f1c894ba680186e4a7c6fd6 13-Feb-2013 Ben Skeggs <bskeggs@redhat.com> drm/nouveau/perfmon: initial infrastructure to expose performance counters

Internal use only at this point. Userspace later.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
ff4b42c7532e6ed6a5ae3c9cb71395b41a0a4022 15-Oct-2013 Ben Skeggs <bskeggs@redhat.com> drm/nouveau/pwr: initial implementation

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
aabf19c27fc72c9c218844c8385744ff5620a229 05-Nov-2013 Ben Skeggs <bskeggs@redhat.com> drm/nouveau/device: recognise GK208

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
dd5b84ac3ca410ed531fb4e1038b907cfc5e1351 27-Sep-2013 Ben Skeggs <bskeggs@redhat.com> drm/nouveau/device: use an additional bit from NV_PMC_BOOT_0 to identify chipset

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
8aa816b0bbcefa8517d7e10586d7dbb0ead3c4c1 05-Sep-2013 Ilia Mirkin <imirkin@alum.mit.edu> drm/nv10: fix chipset checks, mostly for the benefit of nv1a

NV1A is numerically higher than NV17 but generationally lower. Use the
new card type to help disambiguate.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
4a0ff75418851116d034fa4d91bef114f01a329d 05-Sep-2013 Ilia Mirkin <imirkin@alum.mit.edu> drm/nv10: introduce a new NV_11 card type

NV11/17/1F/18 come after NV10/15/16/1A. In order to facilitate using
numerical comparisons, split up the two sets into different card types.

This change should be a no-op except that the relevant cards will see
NV11 printed instead of NV10 for the family.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
c42a7aec12c893c55b9aa8de02f9f1de767be8a5 21-Aug-2013 Ben Skeggs <bskeggs@redhat.com> drm/nouveau/vic: rename PUNK1C1 to PVIC

NVIDIA's name for what rnndb calls PVCOMP.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
7b4f638b3a611118324328a18c842e26996493fe 30-Mar-2013 Ben Skeggs <bskeggs@redhat.com> drm/nve0: recognise nvf0 as a kepler board (GK110)

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
10caad339c458df47e5a9e16e148087fcde98fec 25-Apr-2013 Ben Skeggs <bskeggs@redhat.com> drm/nouveau/device: tweak the device/subdev relationship a little

Fixes not-in-use engines not having their reset() method called on
resume.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
066a5d0938c64bec665866b145d8538d9f96bcda 25-Apr-2013 Ben Skeggs <bskeggs@redhat.com> drm/nouveau/device: enable proper constructor/destructor

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
9aecbada751e6343e47cbefade718e571a8ecbbc 25-Apr-2013 Ben Skeggs <bskeggs@redhat.com> drm/nouveau/device: have engine object initialised before creation

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
dded35dee323e286ef444f148abaf88adb58d4f3 25-Apr-2013 Ben Skeggs <bskeggs@redhat.com> drm/nouveau/device: convert to engine, rather than subdev

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>