aboutsummaryrefslogtreecommitdiff
path: root/examples/.gitignore
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-10-13 15:29:31 +0200
committerSimon Zeni <simon@bl4ckb0ne.ca>2022-10-14 15:13:14 +0000
commit9560a7eefdffcd3694827bd2c6db28696f6ac957 (patch)
tree18e3942c4289d0345753560a611b3b23eb51d1fa /examples/.gitignore
parent3a949ea8eb0277f52d10ef0d54760323752321c9 (diff)
backend/drm: use atomic API to fetch current connector's CRTC
We were using the legacy API (with a detour through drmModeEncoder) to find out the current CRTC for a connector. Use the atomic API when available. Also extract the whole logic into a separate function for better readability, and better handle errors.
Diffstat (limited to 'examples/.gitignore')
0 files changed, 0 insertions, 0 deletions