diff options
| author | Daniel Vetter <[email protected]> | 2020-05-27 13:11:34 +0200 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2020-05-29 12:58:11 +0200 |
| commit | 6015002ece38dac85a373f041e0302781de7474b (patch) | |
| tree | 3d7308ef59d128562e6c3bd6e25f89ecc28393ac /tools/perf/scripts/python/bin/export-to-postgresql-report | |
| parent | 269cb04a40231a9a37e43f67cdfcdd7171c6bbc2 (diff) | |
drm: use drm_dev_has_vblank more
For historical reasons it's called dev->num_crtcs, which is rather
confusing ever since kms was added. But now we have a nice helper, so
let's use it for better readability!
Only code change is in atomic helpers: vblank support means that
dev->irq_enabled must be set too. Another one of these quirky things
... But since it's implied we can simplify that check.
Reviewed-by: Thomas Zimmermann <[email protected]>
Acked-by: Sam Ravnborg <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Cc: Maarten Lankhorst <[email protected]>
Cc: Maxime Ripard <[email protected]>
Cc: Thomas Zimmermann <[email protected]>
Cc: David Airlie <[email protected]>
Cc: Daniel Vetter <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions