minigbm: Reformat with clang-format.
Touching the files seem to cause reformatting. BUG=None TEST=None Change-Id: I31d2fbb01f4ee803da2b740dea036971e861bf60 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/2027288 Tested-by: Junichi Uekawa <uekawa@chromium.org> Reviewed-by: Lepton Wu <lepton@chromium.org> Commit-Queue: Junichi Uekawa <uekawa@chromium.org>
This commit is contained in:
parent
fbfb338e7d
commit
d441f4ec33
4 changed files with 6 additions and 6 deletions
4
amdgpu.c
4
amdgpu.c
|
|
@ -39,8 +39,8 @@ const static uint32_t render_target_formats[] = { DRM_FORMAT_ABGR8888, DRM_FORMA
|
|||
DRM_FORMAT_RGB565, DRM_FORMAT_XBGR8888,
|
||||
DRM_FORMAT_XRGB8888 };
|
||||
|
||||
const static uint32_t texture_source_formats[] = { DRM_FORMAT_GR88, DRM_FORMAT_R8,
|
||||
DRM_FORMAT_NV21, DRM_FORMAT_NV12,
|
||||
const static uint32_t texture_source_formats[] = { DRM_FORMAT_GR88, DRM_FORMAT_R8,
|
||||
DRM_FORMAT_NV21, DRM_FORMAT_NV12,
|
||||
DRM_FORMAT_YVU420_ANDROID, DRM_FORMAT_YVU420 };
|
||||
|
||||
static int amdgpu_init(struct driver *drv)
|
||||
|
|
|
|||
|
|
@ -95,7 +95,7 @@ static struct combinations combos[] = {
|
|||
// clang-format on
|
||||
|
||||
struct grallocinfo {
|
||||
buffer_handle_t handle; /* handle to the buffer */
|
||||
buffer_handle_t handle; /* handle to the buffer */
|
||||
int w; /* width of buffer */
|
||||
int h; /* height of buffer */
|
||||
int format; /* format of the buffer */
|
||||
|
|
|
|||
2
drv.c
2
drv.c
|
|
@ -111,7 +111,7 @@ static const struct backend *drv_get_backend(int fd)
|
|||
#ifdef DRV_VC4
|
||||
&backend_vc4,
|
||||
#endif
|
||||
&backend_vgem, &backend_virtio_gpu,
|
||||
&backend_vgem, &backend_virtio_gpu,
|
||||
};
|
||||
|
||||
for (i = 0; i < ARRAY_SIZE(backend_list); i++)
|
||||
|
|
|
|||
4
i915.c
4
i915.c
|
|
@ -24,8 +24,8 @@
|
|||
#define I915_CACHELINE_MASK (I915_CACHELINE_SIZE - 1)
|
||||
|
||||
static const uint32_t render_target_formats[] = { DRM_FORMAT_ABGR16161616F, DRM_FORMAT_ABGR2101010,
|
||||
DRM_FORMAT_ABGR8888, DRM_FORMAT_ARGB2101010,
|
||||
DRM_FORMAT_ARGB8888, DRM_FORMAT_RGB565,
|
||||
DRM_FORMAT_ABGR8888, DRM_FORMAT_ARGB2101010,
|
||||
DRM_FORMAT_ARGB8888, DRM_FORMAT_RGB565,
|
||||
DRM_FORMAT_XBGR2101010, DRM_FORMAT_XBGR8888,
|
||||
DRM_FORMAT_XRGB2101010, DRM_FORMAT_XRGB8888 };
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue