diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2016-11-04 08:20:36 +0100 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2016-11-07 05:05:03 +0100 |
commit | d665c7e91458e19f413ea89d99d89f4743be95e3 (patch) | |
tree | 40ece02034a182cd9106ac4d9782141a98a383cb /drivers/gpu/drm/nouveau/nouveau_encoder.h | |
parent | drm/nouveau/kms/nv50: rename remaining nv50_crtc to nv50_head (diff) | |
download | linux-d665c7e91458e19f413ea89d99d89f4743be95e3.tar.xz linux-d665c7e91458e19f413ea89d99d89f4743be95e3.zip |
drm/nouveau/kms/nv50: allow encoder update to be called from other modules
MST encoders will make use of this to share code with SOR>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_encoder.h')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_encoder.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_encoder.h b/drivers/gpu/drm/nouveau/nouveau_encoder.h index 2cd4a2dab835..848982bd18e9 100644 --- a/drivers/gpu/drm/nouveau/nouveau_encoder.h +++ b/drivers/gpu/drm/nouveau/nouveau_encoder.h @@ -66,6 +66,8 @@ struct nouveau_encoder { void (*enc_save)(struct drm_encoder *encoder); void (*enc_restore)(struct drm_encoder *encoder); + void (*update)(struct nouveau_encoder *, u8 head, + struct drm_display_mode *, u8 proto, u8 depth); }; struct nouveau_encoder * |