diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-03-17 20:20:28 +0000 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2017-03-29 13:56:53 +0300 |
commit | 6c06a59703946d2f133c067629eb911bb58ff3a6 (patch) | |
tree | 37376f99e61a09bf65b39d9b3f2ef89defe2f156 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 43dc7fe2b2118c76fbc2808dec0c57b3158e6dc0 (diff) |
drm: vblank cannot be enabled if dev->irq_enabled is false
Since we cannot enable the vblank if !dev->irq_enabled, we assert that
checking for both !vblank->enabled and !dev->irq_enabled is tautological
and only need the former. The only time it may differ is when racing
with drm_irq_uninstall(), but that will then disable the vblank and
wakeup the waiters.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/20170317202030.24410-2-chris@chris-wilson.co.uk
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions