]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Don't set update_wm_post on g4x+
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 6 Feb 2019 18:54:33 +0000 (20:54 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 7 Feb 2019 17:03:15 +0000 (19:03 +0200)
commit52a8de51e94fc34a08b62a08046eb705232bbca2
tree94fbc7000e9e22a0c43eb60c6e079f361c2f732e
parent9d3b118888f24da8bc9b2024328e82696707d76a
drm/i915: Don't set update_wm_post on g4x+

update_wm_post is meant for pre-g4x only. Don't ever set
it on g4x+.

The only effect of a bogus update_wm_post on g4x+ could
be that we clear the legacy_cursor_update flag in
intel_atomic_commit(). Since legacy_cursor_update is
only set for legacy cursor updates (as the name suggests)
and we only set update_wm_post for a modeset the two
cases should never occur at the same time. But let's
be consistent in setting update_wm_post so we don't
end up confusing so many people.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190206185433.8116-1-ville.syrjala@linux.intel.com
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/i915/intel_display.c