summaryrefslogtreecommitdiff
path: root/lib/drmtest.c
diff options
context:
space:
mode:
authorImre Deak <imre.deak@intel.com>2013-07-29 17:19:58 +0300
committerImre Deak <imre.deak@intel.com>2013-07-29 18:40:00 +0300
commit24de8bac80e61b9b8dbfd2b3b834f15a13e506e3 (patch)
treecb66531ba69e87ccf79346a08fb3e36b1564a56c /lib/drmtest.c
parentc1ee0bb53269ded7b79966d081518d689639bac7 (diff)
lib: export drm_format_to_bpp
Needed by the next patch. Signed-off-by: Imre Deak <imre.deak@intel.com>
Diffstat (limited to 'lib/drmtest.c')
-rw-r--r--lib/drmtest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/drmtest.c b/lib/drmtest.c
index 083191d2..29ebaf7f 100644
--- a/lib/drmtest.c
+++ b/lib/drmtest.c
@@ -1071,7 +1071,7 @@ unsigned int kmstest_create_fb(int fd, int width, int height, int bpp,
return fb->fb_id;
}
-static uint32_t drm_format_to_bpp(uint32_t drm_format)
+uint32_t drm_format_to_bpp(uint32_t drm_format)
{
struct format_desc_struct *f;