|
@@ -418,7 +418,7 @@ int drm_atomic_debugfs_cleanup(struct drm_minor *minor);
|
|
* should clear mode_changed during its ->atomic_check.
|
|
* should clear mode_changed during its ->atomic_check.
|
|
*/
|
|
*/
|
|
static inline bool
|
|
static inline bool
|
|
-drm_atomic_crtc_needs_modeset(struct drm_crtc_state *state)
|
|
|
|
|
|
+drm_atomic_crtc_needs_modeset(const struct drm_crtc_state *state)
|
|
{
|
|
{
|
|
return state->mode_changed || state->active_changed ||
|
|
return state->mode_changed || state->active_changed ||
|
|
state->connectors_changed;
|
|
state->connectors_changed;
|