mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-02-05 18:42:57 -05:00
staging: vboxvideo: Stop accessing crtc_state->active
Atomic modesetting drivers should never check crtc_state->active directly, instead check crtc_state->enable. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
d5c5dff7dc
commit
ba2181d76e
@@ -84,7 +84,7 @@ static void vbox_do_modeset(struct drm_crtc *crtc)
|
||||
}
|
||||
|
||||
flags = VBVA_SCREEN_F_ACTIVE;
|
||||
flags |= (fb && crtc->state->active) ? 0 : VBVA_SCREEN_F_BLANK;
|
||||
flags |= (fb && crtc->state->enable) ? 0 : VBVA_SCREEN_F_BLANK;
|
||||
flags |= vbox_crtc->disconnected ? VBVA_SCREEN_F_DISABLED : 0;
|
||||
hgsmi_process_display_info(vbox->guest_pool, vbox_crtc->crtc_id,
|
||||
x_offset, y_offset,
|
||||
|
||||
Reference in New Issue
Block a user