Commit a6519268 authored by Lepton Wu's avatar Lepton Wu Committed by Eric Engestrom

gbm: Add GBM_MAX_PLANES definition

This removed hard coded "4".
Reviewed-by: Eric Engestrom's avatarEric Engestrom <>
Signed-off-by: Lepton Wu's avatarLepton Wu <>
parent f8da0f61
Pipeline #71583 passed with stages
in 14 minutes and 52 seconds
......@@ -285,14 +285,16 @@ struct gbm_import_fd_data {
uint32_t format;
#define GBM_MAX_PLANES 4
struct gbm_import_fd_modifier_data {
uint32_t width;
uint32_t height;
uint32_t format;
uint32_t num_fds;
int fds[4];
int strides[4];
int offsets[4];
int fds[GBM_MAX_PLANES];
int strides[GBM_MAX_PLANES];
int offsets[GBM_MAX_PLANES];
uint64_t modifier;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment