lib: export drm_format_to_bpp

Needed by the next patch.

Signed-off-by: Imre Deak <imre.deak@intel.com>
This commit is contained in:
Imre Deak 2013-07-29 17:19:58 +03:00
parent c1ee0bb532
commit 24de8bac80
2 changed files with 3 additions and 1 deletions

View File

@ -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;

View File

@ -166,6 +166,8 @@ const char *kmstest_encoder_type_str(int type);
const char *kmstest_connector_status_str(int type);
const char *kmstest_connector_type_str(int type);
uint32_t drm_format_to_bpp(uint32_t drm_format);
inline static void _do_or_die(const char *function, int line, int ret)
{
if (ret == 0)