diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-12-06 22:08:08 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-12-09 12:44:23 +0000 |
commit | aa8c5d8201006397bb32ed6bc28618f9aa77a68a (patch) | |
tree | 89d3bc65a60a81fa64a29d39b0a128e5b410c711 | |
parent | 25c0d440dee45c03f5e45b8e0e45071c0c32f507 (diff) |
sna/sprite: Add a DBG to report whether the kernel supports sprites
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | src/sna/sna_video_sprite.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sna/sna_video_sprite.c b/src/sna/sna_video_sprite.c index b51bf162..79b4af20 100644 --- a/src/sna/sna_video_sprite.c +++ b/src/sna/sna_video_sprite.c @@ -380,6 +380,7 @@ XF86VideoAdaptorPtr sna_video_sprite_setup(struct sna *sna, memset(&r, 0, sizeof(struct drm_mode_get_plane_res)); if (drmIoctl(sna->kgem.fd, DRM_IOCTL_MODE_GETPLANERESOURCES, &r)) return NULL; + DBG(("%s: %d sprite planes\n", __FUNCTION__, r.count_planes)); if (r.count_planes == 0) return NULL; |