diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2024-06-27 17:27:52 +0200 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2024-07-03 09:38:23 +0200 |
commit | 633743ed18461061441af69d1ec669bb7b8c4269 (patch) | |
tree | e85c9e1786ff68d7c5fa80603821986a4a2e5773 /net/unix/af_unix.c | |
parent | 171b357d18eea64988ae774aa25b32bbfeb16880 (diff) |
drm/ast: Inline ast_crtc_dpms() into callers
The function ast_crtc_dpms() is left over from when the ast driver
did not implement atomic modesetting. But DPMS is not supported by
atomic modesetting and the helper is only called to enable or
disable the CRTC sync pulses. Inline the function into its callers.
To disable the CRTC, ast sets (AST_DPMS_VSYNC_OFF | AST_DPMS_HSYNC_OFF)
in VGACRB6. Replace the constants with the correct register constants
for VGACRB6.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240627153638.8765-8-tzimmermann@suse.de
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions