linux/drivers/gpu/drm/nouveau/dispnv50
Lyude Paul 9125e2422c drm/nouveau/kms/nv50-: Fix locking for audio callbacks
Noticed that I wasn't paying close enough attention the last time I looked
at our audio callbacks, as I completely missed the fact that we were
figuring out which audio-enabled connector goes to each encoder by checking
it's state, but without grabbing any of the appropriate modesetting locks
to do so.

That being said however: trying to grab modesetting locks in our audio
callbacks would be very painful due to the potential for locking inversion
between HDA and DRM. So, let's instead just copy what i915 does again - add
our own audio lock to protect audio related state, and store each audio
enabled connector in each nouveau_encoder struct so that we don't need to
check any atomic states.

Signed-off-by: Lyude Paul <lyude@redhat.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2021-01-29 16:49:14 +10:00
..
atom.h drm/nouveau/kms/nvd9-: Add CRC support 2020-07-16 18:16:33 -04:00
base507c.c drm/nouveau/kms/nv50-: use NVIDIA's headers for wndw update() 2020-07-24 18:51:00 +10:00
base827c.c drm/nouveau/kms/nv50-: use NVIDIA's headers for wndw image_set() 2020-07-24 18:51:00 +10:00
base907c.c drm/nouveau/kms/nv50-: use NVIDIA's headers for wndw image_set() 2020-07-24 18:51:00 +10:00
base917c.c drm/nouveau/kms/nv50-: add fp16 scanout support 2019-08-23 12:55:31 +10:00
base.c
base.h drm/nouveau/kms/nv50-: convert wndw update() to new push macros 2020-07-24 18:50:53 +10:00
core507d.c drm/nouveau/kms/nv50-gp1xx: wait for less EVO pushbuf space for core updates without notify 2021-01-29 16:49:11 +10:00
core827d.c drm/nouveau/kms/nv50-: Probe SOR and PIOR caps for DP interlacing support 2020-05-22 11:13:51 +10:00
core907d.c drm/nouveau/kms/nv50-: Program notifier offset before requesting disp caps 2020-10-30 09:34:12 +10:00
core917d.c drm/nouveau/kms/nv50-: Program notifier offset before requesting disp caps 2020-10-30 09:34:12 +10:00
core.c drm/nouveau/disp/ga10[24]: initial support 2021-01-15 10:25:24 +10:00
core.h drm/nouveau/kms/nv50-: Program notifier offset before requesting disp caps 2020-10-30 09:34:12 +10:00
corec37d.c drm/nouveau/kms/gv100-: wait for less NVD pushbuf space for core updates without notify 2021-01-29 16:49:12 +10:00
corec57d.c drm/nouveau/kms/nv50-: use NVIDIA's headers for core init() 2020-07-24 18:51:00 +10:00
crc907d.c drm/nouveau/kms/nv50-: use NVIDIA's headers for core crc_set_ctx() 2020-07-24 18:51:03 +10:00
crc.c drm/nouveau/kms/nv50-: use NVIDIA's headers for core head_or() 2020-07-24 18:51:03 +10:00
crc.h drm/nouveau/kms/nv50-: Fix CRC-related compile errors with debugfs disabled 2020-07-24 18:51:05 +10:00
crcc37d.c drm/nouveau/kms/gv100-: Include correct push header in crcc37d.c 2020-09-03 15:32:23 +10:00
curs507a.c drm/nouveau/kms/nv50-: use NVIDIA's headers for wimm update() 2020-07-24 18:50:58 +10:00
curs907a.c
curs.c drm/nouveau/disp/ga10[24]: initial support 2021-01-15 10:25:24 +10:00
curs.h
cursc37a.c drm/nouveau/kms/nv50-: use NVIDIA's headers for wimm update() 2020-07-24 18:50:58 +10:00
dac507d.c drm/nouveau/kms/nv50-: use NVIDIA's headers for core or_ctrl() 2020-07-24 18:51:01 +10:00
dac907d.c drm/nouveau/kms/nv50-: use NVIDIA's headers for core or_ctrl() 2020-07-24 18:51:01 +10:00
disp.c drm/nouveau/kms/nv50-: Fix locking for audio callbacks 2021-01-29 16:49:14 +10:00
disp.h drm/nouveau/kms/nv50-: fix case where notifier buffer is at offset 0 2021-01-15 10:25:17 +10:00
handles.h drm/nouveau/kms/nvd9-: Add CRC support 2020-07-16 18:16:33 -04:00
head507d.c drm/nouveau/kms/nv50-: use NVIDIA's headers for core head_procamp() 2020-07-24 18:51:03 +10:00
head827d.c drm/nouveau/kms/nv50-: use NVIDIA's headers for core head_curs_clr() 2020-07-24 18:51:02 +10:00
head907d.c drm/nouveau/kms/nv50-: Don't call HEAD_SET_CRC_CONTROL in head907d_mode() 2021-01-29 16:49:12 +10:00
head917d.c drm/nouveau/kms/nv50-: use NVIDIA's headers for core head_dither() 2020-07-24 18:51:03 +10:00
head.c drm: automatic legacy gamma support 2020-12-15 15:46:03 +02:00
head.h drm/nouveau/kms/nv50-: convert core head_or() to new push macros 2020-07-24 18:50:55 +10:00
headc37d.c drm/nouveau/kms/nv50-: use NVIDIA's headers for core head_or() 2020-07-24 18:51:03 +10:00
headc57d.c drm/nouveau/kms/nv50-: use NVIDIA's headers for core head_or() 2020-07-24 18:51:03 +10:00
Kbuild drm/nouveau/disp/ga10[24]: initial support 2021-01-15 10:25:24 +10:00
lut.c drm/nouveau/nvif: give every mem object a human-readable identifier 2020-07-24 18:50:51 +10:00
lut.h
oimm507b.c drm/nouveau/nvif: give every object a human-readable identifier 2020-07-24 18:50:50 +10:00
oimm.c
oimm.h
ovly507e.c drm/nouveau/kms/nv50-: use NVIDIA's headers for wndw scale_set() 2020-07-24 18:51:00 +10:00
ovly827e.c drm/nouveau/kms/nv50-: use NVIDIA's headers for wndw image_set() 2020-07-24 18:51:00 +10:00
ovly907e.c drm/nouveau/kms/nv50-: use NVIDIA's headers for wndw image_set() 2020-07-24 18:51:00 +10:00
ovly917e.c drm/nouveau/kms/nv50-: remove overlay alpha formats 2019-08-23 12:55:32 +10:00
ovly.c
ovly.h drm/nouveau/kms/nv50-: convert wndw update() to new push macros 2020-07-24 18:50:53 +10:00
pior507d.c drm/nouveau/kms/nv50-: use NVIDIA's headers for core or_ctrl() 2020-07-24 18:51:01 +10:00
sor507d.c drm/nouveau/kms/nv50-: use NVIDIA's headers for core or_ctrl() 2020-07-24 18:51:01 +10:00
sor907d.c drm/nouveau/kms/nv50-: use NVIDIA's headers for core or_get_caps() 2020-07-24 18:51:01 +10:00
sorc37d.c drm/nouveau/kms/nv50-: use NVIDIA's headers for core or_ctrl() 2020-07-24 18:51:01 +10:00
wimm.c drm/nouveau/disp/ga10[24]: initial support 2021-01-15 10:25:24 +10:00
wimm.h
wimmc37b.c drm/nouveau/kms/nv50-: fix case where notifier buffer is at offset 0 2021-01-15 10:25:17 +10:00
wndw.c drm/nouveau/disp/ga10[24]: initial support 2021-01-15 10:25:24 +10:00
wndw.h drm/nouveau/disp/ga10[24]: initial support 2021-01-15 10:25:24 +10:00
wndwc37e.c drm/nouveau/kms/nv50-: use NVIDIA's headers for wndw update() 2020-07-24 18:51:00 +10:00
wndwc57e.c drm/nouveau/disp/ga10[24]: initial support 2021-01-15 10:25:24 +10:00
wndwc67e.c drm/nouveau/disp/ga10[24]: initial support 2021-01-15 10:25:24 +10:00