drm/i915: Don't hide the intel_crtc_atomic_check() call
Move the intel_crtc_atomic_check() call out from the variable declarations to a place where we can actually see it. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200925121749.708-2-ville.syrjala@linux.intel.com Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
This commit is contained in:
parent
7102404cb4
commit
eba10ec8cf
|
@ -14899,8 +14899,10 @@ static int intel_atomic_check_crtcs(struct intel_atomic_state *state)
|
|||
int i;
|
||||
|
||||
for_each_new_intel_crtc_in_state(state, crtc, crtc_state, i) {
|
||||
int ret = intel_crtc_atomic_check(state, crtc);
|
||||
struct drm_i915_private *i915 = to_i915(crtc->base.dev);
|
||||
int ret;
|
||||
|
||||
ret = intel_crtc_atomic_check(state, crtc);
|
||||
if (ret) {
|
||||
drm_dbg_atomic(&i915->drm,
|
||||
"[CRTC:%d:%s] atomic driver check failed\n",
|
||||
|
|
Loading…
Reference in New Issue