diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2019-02-27 12:43:04 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2019-02-27 12:43:04 +0100 |
commit | 437f8e7a66a36054862b2cca8cbe475796704303 (patch) | |
tree | e68e14f8a45a81762dd9dba12e904dc5c78b4f3b /drmtest.c | |
parent | 559ed303bd98f35bf46eb90958088bce90384c25 (diff) | |
download | drminfo-437f8e7a66a36054862b2cca8cbe475796704303.tar.gz |
property and plane type bits
Diffstat (limited to 'drmtest.c')
-rw-r--r-- | drmtest.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -274,7 +274,9 @@ int main(int argc, char **argv) if (fmts[i].cairo == CAIRO_FORMAT_INVALID) continue; } - if (!drm_probe_format(fd, &fmts[i])) + if (!drm_probe_format_fb(fd, &fmts[i])) + continue; + if (!drm_probe_format_primary(&fmts[i])) continue; fmt = &fmts[i]; break; |