diff options
author | 2015-06-01 08:59:53 +0200 | |
---|---|---|
committer | 2015-06-04 09:20:31 +1000 | |
commit | 9b5edbf7a462b7c846e9d4675b9b72b7a4e84de9 (patch) | |
tree | 68ec413e34ecaceca947f929779e2bec268418de /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Merge tag 'topic/drm-misc-2015-05-27' of git://anongit.freedesktop.org/drm-intel into drm-next (diff) | |
download | wireguard-linux-9b5edbf7a462b7c846e9d4675b9b72b7a4e84de9.tar.xz wireguard-linux-9b5edbf7a462b7c846e9d4675b9b72b7a4e84de9.zip |
drm/atomic: Clear crtc_state->active in drm_atomic_helper_set_config.
This fixes some regressions in i915 when converting to atomic.
set_config failed with -EINVAL, and I received the following warning
in dmesg:
[drm:drm_atomic_crtc_check] [CRTC:20] active without enabled
Solve this by clearing active when a crtc is disabled.
Because crtc_state->enable implies that connectors are active the
change from disabled->enabled can only happen for the crtc that's
being set_config'd, and checking for !crtc_state->enable is sufficient
here.
Cc: dri-devel@lists.freedesktop.org
Reviewed-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions