Rev 6084 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6084 | Rev 6937 | ||
---|---|---|---|
Line 82... | Line 82... | ||
82 | return NULL; |
82 | return NULL; |
Line 83... | Line 83... | ||
83 | 83 | ||
Line 84... | Line 84... | ||
84 | state = &intel_state->base; |
84 | state = &intel_state->base; |
- | 85 | ||
Line 85... | Line 86... | ||
85 | 86 | __drm_atomic_helper_plane_duplicate_state(plane, state); |
|
86 | __drm_atomic_helper_plane_duplicate_state(plane, state); |
87 | intel_state->wait_req = NULL; |
Line 87... | Line 88... | ||
87 | 88 | ||
Line 98... | Line 99... | ||
98 | */ |
99 | */ |
99 | void |
100 | void |
100 | intel_plane_destroy_state(struct drm_plane *plane, |
101 | intel_plane_destroy_state(struct drm_plane *plane, |
101 | struct drm_plane_state *state) |
102 | struct drm_plane_state *state) |
102 | { |
103 | { |
- | 104 | WARN_ON(state && to_intel_plane_state(state)->wait_req); |
|
103 | drm_atomic_helper_plane_destroy_state(plane, state); |
105 | drm_atomic_helper_plane_destroy_state(plane, state); |
104 | } |
106 | } |
Line 105... | Line 107... | ||
105 | 107 | ||
106 | static int intel_plane_atomic_check(struct drm_plane *plane, |
108 | static int intel_plane_atomic_check(struct drm_plane *plane, |