diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2016-11-04 08:20:35 +0100 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2016-11-07 05:04:46 +0100 |
commit | 616915ec7629af65532e2220792e3ec83ee3510b (patch) | |
tree | a62d1a4b6299f2c0dee6f118b2b2718100d519df /drivers/gpu/drm/nouveau/nouveau_crtc.h | |
parent | drm/nouveau/kms: execute drm_mode_config_reset() after constructing display (diff) | |
download | linux-616915ec7629af65532e2220792e3ec83ee3510b.tar.xz linux-616915ec7629af65532e2220792e3ec83ee3510b.zip |
drm/nouveau/kms: subclass atomic connector state
This commit implements the atomic property hooks for a connector, and
wraps the legacy interface handling on top of those.
For the moment, a full modeset will be done after any property change
in order to ease subsequent changes. The optimised behaviour will be
restored for Tesla and later (earlier boards always do full modesets)
once atomic commits are implemented.
Some functions are put under the "nouveau_conn" namespace now, rather
than "nouveau_connector", to distinguish functions that will work for
(upcoming) MST connectors too.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_crtc.h')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_crtc.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_crtc.h b/drivers/gpu/drm/nouveau/nouveau_crtc.h index 863f10b8d818..d533a32d5e22 100644 --- a/drivers/gpu/drm/nouveau/nouveau_crtc.h +++ b/drivers/gpu/drm/nouveau/nouveau_crtc.h @@ -70,10 +70,6 @@ struct nouveau_crtc { int depth; } lut; - int (*set_dither)(struct nouveau_crtc *crtc, bool update); - int (*set_scale)(struct nouveau_crtc *crtc, bool update); - int (*set_color_vibrance)(struct nouveau_crtc *crtc, bool update); - void (*save)(struct drm_crtc *crtc); void (*restore)(struct drm_crtc *crtc); }; |