projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b38cf6
)
drm/nouveau/kms/nv50-: Use nouveau_encoder->crtc in get_eld callback
author
Lyude Paul
<lyude@redhat.com>
Sat, 14 Nov 2020 00:14:16 +0000
(19:14 -0500)
committer
Ben Skeggs
<bskeggs@redhat.com>
Fri, 29 Jan 2021 06:49:14 +0000
(16:49 +1000)
drm_encoder->crtc is deprecated for atomic drivers, but
nouveau_encoder->crtc is safe.
Signed-off-by: Lyude Paul <lyude@redhat.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/dispnv50/disp.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/dispnv50/disp.c
b/drivers/gpu/drm/nouveau/dispnv50/disp.c
index 205d30d9954eeb32b390b26830d466b927aa0de8..d4b6f83669477d0b2eb2bbbd32f4f2f3192a314a 100644
(file)
--- a/
drivers/gpu/drm/nouveau/dispnv50/disp.c
+++ b/
drivers/gpu/drm/nouveau/dispnv50/disp.c
@@
-644,7
+644,7
@@
nv50_audio_component_get_eld(struct device *kdev, int port, int dev_id,
if (!nv_connector)
continue;
- nv_crtc = nouveau_crtc(encoder->crtc);
+ nv_crtc = nouveau_crtc(
nv_
encoder->crtc);
if (!nv_crtc || nv_encoder->or != port ||
nv_crtc->index != dev_id)
continue;