aboutsummaryrefslogtreecommitdiffstats
path: root/drmtest.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2019-02-27 12:43:04 +0100
committerGerd Hoffmann <kraxel@redhat.com>2019-02-27 12:43:04 +0100
commit437f8e7a66a36054862b2cca8cbe475796704303 (patch)
treee68e14f8a45a81762dd9dba12e904dc5c78b4f3b /drmtest.c
parent559ed303bd98f35bf46eb90958088bce90384c25 (diff)
downloaddrminfo-437f8e7a66a36054862b2cca8cbe475796704303.tar.gz
property and plane type bits
Diffstat (limited to 'drmtest.c')
-rw-r--r--drmtest.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drmtest.c b/drmtest.c
index c2c119f..4d72fb7 100644
--- a/drmtest.c
+++ b/drmtest.c
@@ -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;