Skip to content

Support "gbm_device_is_format_supported()" on msm backend #147

@jeonghee27

Description

@jeonghee27

Hello.

I'm porting Chromium to the QCS6490 board, and I have a question about a crash that occurs when I turn on GBM.

//gbm.c
gbm_device_is_format_supported(struct gbm_device *gbm,
                               uint32_t format, uint32_t flags)
{
   return gbm->v0.is_format_supported(gbm, format, flags);  // is_format_supported is null. it cause crash
}

I found that gbm_msm.c doesn't provide the relevant API functions (such as is_format_supported) when calling msm_device_create().

recipes-graphics/msm_be/files/0001-add-MSM-backend-with-xml-schema.patch
=> gbm/backends/msm/gbm_msm.c -> static struct gbm_device *msm_device_create()

I'm wondering if this is intentional, and if there are any plans to support it in the future.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions