drm/i915: Unconfuse pre-icl vs. icl+ intel_sagv_{pre,post}_plane_update()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 14 Feb 2022 09:18:09 +0000 (11:18 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 16 Feb 2022 13:05:36 +0000 (15:05 +0200)
commita19c1d00b0d350fb7b75c6c4da91887f66114a7d
tree3a2ee5d2e52d885ccaac44b1da5ffc1340f1c9ae
parentc0299cc9840b3805205173cc77782f317b78ea0e
drm/i915: Unconfuse pre-icl vs. icl+ intel_sagv_{pre,post}_plane_update()

intel_sagv_{pre,post}_plane_update() can accidentally forget
to bail out early on pre-icl and proceed down the icl+ codepath
at the end of the function. Fortunately it'll bail out before
it gets too far due to old_qgv_mask==new_qgv_mask==0 so no real
bug here. But lets make the code less confusing anyway.

Cc: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220214091811.13725-5-ville.syrjala@linux.intel.com
Reviewed-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
drivers/gpu/drm/i915/intel_pm.c