summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* fb/ram/nvc0-: fix use of non-existant ram if partitions aren't uniformBen Skeggs2014-08-151-2/+2
| | | | | | Likely a large part of the GK106 woes.. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* bar: behave better if ioremap failedBen Skeggs2014-08-151-3/+11
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* kms: nouveau_fbcon_accel_fini can be staticFengguang Wu2014-08-151-2/+2
| | | | | Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm: kill unused variable warning if !__OS_HAS_AGPBen Skeggs2014-08-151-2/+1
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* nvif: fix a number of notify thinkosBen Skeggs2014-08-153-11/+20
| | | | | | Note to self: more sleep Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm: expose the full object/event interfaces to userspaceBen Skeggs2014-08-1011-13/+650
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm: fix headless modeBen Skeggs2014-08-102-2/+3
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm: hide sysfs pstate file behind an option againBen Skeggs2014-08-101-1/+8
| | | | | | | | No-one has yet had time to move this to debugfs as discussed during the last merge window. Until this happens, hide the option to make it clear it's not going to be here forever. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* disp/nv50: shhh compilerBen Skeggs2014-08-101-4/+4
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* gr/gf100-: implement the proper SetShaderExceptions methodBen Skeggs2014-08-109-17/+53
| | | | | | | | | | We have another version of it implemented in SW, however, that version isn't serialised with normal PGRAPH operation and can possibly clobber the enables for another context. This is the same method that's implemented by the NVIDIA binary driver. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* gr/gf100-: remove some broken ltc bashing, for nowBen Skeggs2014-08-1013-58/+0
| | | | | | | | ... and hope that the defaults are good enough. This was always supposed to be a read/modify/write thing anyway, so we're writing very wrong stuff for some boards already. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* gr/gf100-: unhardcode attribute cb configBen Skeggs2014-08-1013-166/+199
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* gr/gf100-: fetch tpcs-per-ppc info on startupBen Skeggs2014-08-109-1/+16
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* gr/gf100-: unhardcode pagepool configBen Skeggs2014-08-1013-41/+75
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* gr/gf100-: unhardcode bundle cb configBen Skeggs2014-08-1013-41/+100
| | | | | | | | | Should be the same values as before, except: GF117 has smaller buffer allocated, as per register setup. GK20A now uses values from Tegra driver, not GK104's. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* gr/gf100-: improve initial context patch list helpersBen Skeggs2014-08-104-20/+51
| | | | | | | Removes need for fixed buffer indices, and allows the functions utilising them to also be run outside of context generation. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* gr/gf100-: add support for zero bandwidth clearBen Skeggs2014-08-1010-11/+313
| | | | | | | | | | Default ZBC table is compatible with binary driver defaults. Userspace will need to be updated to take full advantage of this feature, however, some applications will see a performance boost without updated drivers. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* ltc: add zbc driversBen Skeggs2014-08-106-1/+108
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* ltc: s/ltcg/ltc/ + cleanupBen Skeggs2014-08-1031-248/+379
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm: use ram info from nvif_deviceBen Skeggs2014-08-108-32/+17
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* disp: implement nvif event sources for vblank/connector notifiersBen Skeggs2014-08-1011-20/+47
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* disp: allow user direct access to channel control registersBen Skeggs2014-08-104-1/+24
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* disp: audit and version display classesBen Skeggs2014-08-1059-430/+323
| | | | | | | | 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>
* disp: audit and version SCANOUTPOS methodBen Skeggs2014-08-1015-172/+204
| | | | | | | | 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>
* disp/nv50-: audit and version PIOR_PWR methodBen Skeggs2014-08-1010-70/+50
| | | | | | | | 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>
* disp/nv50-: audit and version SOR_DP_PWR methodBen Skeggs2014-08-109-74/+41
| | | | | | | | 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>
* disp/nv50-: audit and version LVDS_SCRIPT methodBen Skeggs2014-08-109-23/+43
| | | | | | | | 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>
* disp/nv50-: audit and version SOR_HDMI_PWR methodBen Skeggs2014-08-1013-45/+121
| | | | | | | | 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>
* disp/nv50-: audit and version SOR_HDA_ELD methodBen Skeggs2014-08-1010-29/+75
| | | | | | | | 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>
* disp/nv50-: audit and version SOR_PWR methodBen Skeggs2014-08-1010-26/+45
| | | | | | | | 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>
* disp/nv50-: audit and version DAC_LOAD methodBen Skeggs2014-08-1010-51/+48
| | | | | | | | 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>
* disp/nv50-: audit and version DAC_PWR methodBen Skeggs2014-08-1013-41/+171
| | | | | | | | 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>
* disp/nv50-: share channel creation between nv50/gf110 implsBen Skeggs2014-08-1010-302/+204
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* kms/nv50: don't assume same class versions for all channelsBen Skeggs2014-08-101-48/+166
| | | | | | | | One of the next commits will remove some of the class IDs, leaving only the ones used by NVIDIA which, presumably, mark where functionality changes actually happened. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* fifo: implement nvif event sourceBen Skeggs2014-08-1013-50/+89
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* fifo: allow direct access to channel control registers where possibleBen Skeggs2014-08-1011-9/+38
| | | | | | | | | | | | | The indirect method has been left in-place here as a fallback path, as it may not be possible to map the non-PAGE_SIZE aligned control areas across some chipset+interface combinations. This isn't a problem for the primary use-case where the core and drm are linked together in kernel-land, but across a VM or (in the case where it applies now) between the core in the kernel and a userspace test tool. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* fifo: audit and version fifo channel classesBen Skeggs2014-08-1019-199/+323
| | | | | | | | 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>
* device: audit and version NVIF_CONTROL class and methodsBen Skeggs2014-08-107-112/+174
| | | | | | | | 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>
* pm: audit and version NVIF_PERFMON class and methodsBen Skeggs2014-08-105-103/+140
| | | | | | | | 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>
* dma: audit and version NV_DMA classesBen Skeggs2014-08-1015-216/+318
| | | | | | | | 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>
* dmaobj: switch to a slightly saner designBen Skeggs2014-08-108-181/+357
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* dmaobj: update to an improved style of class definitionBen Skeggs2014-08-1017-209/+158
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* device: audit and version NV_DEVICE classBen Skeggs2014-08-1023-147/+177
| | | | | | | | 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>
* drm: use ioctl interface for abi16 gpuobj freeBen Skeggs2014-08-101-3/+15
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm: use ioctl interface for abi16 ntfy allocBen Skeggs2014-08-101-18/+31
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm: use ioctl interface for abi16 grobj allocBen Skeggs2014-08-103-34/+54
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm: remove as much direct use of core headers as possibleBen Skeggs2014-08-1023-59/+22
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm: remove (most) hardcoded object handle usageBen Skeggs2014-08-109-58/+45
| | | | | | | The PFIFO<->EVO sync buffers will be fixed up later when inter-channel sync in general is improved. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* drm: port to nvif client/device/objectsBen Skeggs2014-08-1040-479/+522
| | | | Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
* add 'compile' to .gitignoreBen Skeggs2014-08-101-0/+1
|