Skip to content
Snippets Groups Projects
Commit 04847ba2 authored by Lyude Paul's avatar Lyude Paul
Browse files

fixup! rust: drm/kms: Add DriverCrtc::atomic_enable() and atomic_disable()

parent 12747f90
No related merge requests found
...@@ -181,7 +181,7 @@ pub trait DriverCrtc: Send + Sync + Sized { ...@@ -181,7 +181,7 @@ pub trait DriverCrtc: Send + Sync + Sized {
fn atomic_enable( fn atomic_enable(
crtc: &Crtc<Self>, crtc: &Crtc<Self>,
old_state: &CrtcState<Self::State>, old_state: &CrtcState<Self::State>,
new_state: BorrowedCrtcState<'_, CrtcState<Self::State>>, new_state: CrtcStateMutator<'_, CrtcState<Self::State>>,
state: &AtomicStateMutator<Self::Driver> state: &AtomicStateMutator<Self::Driver>
) { ) {
build_error::build_error("This should never be reachable") build_error::build_error("This should never be reachable")
...@@ -195,7 +195,7 @@ pub trait DriverCrtc: Send + Sync + Sized { ...@@ -195,7 +195,7 @@ pub trait DriverCrtc: Send + Sync + Sized {
fn atomic_disable( fn atomic_disable(
crtc: &Crtc<Self>, crtc: &Crtc<Self>,
old_state: &CrtcState<Self::State>, old_state: &CrtcState<Self::State>,
new_state: BorrowedCrtcState<'_, CrtcState<Self::State>>, new_state: CrtcStateMutator<'_, CrtcState<Self::State>>,
state: &AtomicStateMutator<Self::Driver> state: &AtomicStateMutator<Self::Driver>
) { ) {
build_error::build_error("This should never be reachable") build_error::build_error("This should never be reachable")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment