diff options
author | Mario Kleiner <mario.kleiner.de@gmail.com> | 2016-08-27 01:02:28 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2016-08-29 06:55:47 +1000 |
commit | add1fa75101263ab4d74240f93000998d4325624 (patch) | |
tree | 7a112ad1c1585b4d5a570cc2b1a7ce9662465dfd /include | |
parent | 969af80f770a86e65bf8be1f72b218b5f8556b56 (diff) | |
download | linux-add1fa75101263ab4d74240f93000998d4325624.tar.gz linux-add1fa75101263ab4d74240f93000998d4325624.tar.bz2 linux-add1fa75101263ab4d74240f93000998d4325624.zip |
drm/atomic: Don't potentially reset color_mgmt_changed on successive property updates.
Due to assigning the 'replaced' value instead of or'ing it,
if drm_atomic_crtc_set_property() gets called multiple times,
the last call will define the color_mgmt_changed flag, so
a non-updating call to a property can reset the flag and
prevent actual hw state updates required by preceding
property updates.
Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
Cc: Daniel Vetter <daniel.vetter@intel.com>
Cc: <stable@vger.kernel.org> # v4.6+
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions