lib/igt_fb: switch to igt_ prefix from kmstest_
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 26 Mar 2014 08:18:11 +0000 (09:18 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 26 Mar 2014 17:50:27 +0000 (18:50 +0100)
commit9aea7ae541212e4116af8d5d922d7cbcc571df50
treeaf199ac060429b4ad99d557bc6f4de45156d9e03
parent57d7db8cf8c407541d1ed57348a6f468c2b73577
lib/igt_fb: switch to igt_ prefix from kmstest_

Shorter and more in line with our general igt_ prefix for everything
which isn't somehow intel or i915-gem or otherwise hw specific - these
helpers here are all fully generic framebuffer handling functions
based on kms + cairo.

Well, the actual buffer alloc is done with i915 gem, but meh ;-)

Two special cases:
- bpp_depth_to_drm_format and drm_format_to_bpp completely lacked
  prefixes, so just add igt_.
- write_fb was a bit misleading given that we have gem_write for
  uploading to buffers. Rename that to write_fb_to_png to make it
  crystal clear what this thing does even without looking at docs.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
14 files changed:
lib/igt_fb.c
lib/igt_fb.h
lib/igt_kms.c
lib/igt_kms.h
tests/kms_cursor_crc.c
tests/kms_fbc_crc.c
tests/kms_flip.c
tests/kms_pipe_crc_basic.c
tests/kms_plane.c
tests/kms_render.c
tests/kms_setmode.c
tests/pm_lpsp.c
tests/pm_pc8.c
tests/testdisplay.c