Mir

mir:fix-mali-probe

Last commit made on 2021-12-03
Get this branch:
git clone -b fix-mali-probe https://git.launchpad.net/mir

Branch merges

Branch information

Name:
fix-mali-probe
Repository:
lp:mir

Recent commits

8b06167... by Chris Halse Rogers

gbm-kms: Attempt rendering probe with a DRM master fd.

It seems the Mali EGL implementation requries DRM master. In order for
probe() to succeed, try giving it one.

But, since *most* platforms don't need a master fd to bring EGL up,
fall back to plain `::open()`, as before.

3711376... by "bors[bot]" <26634292+bors[bot]@users.noreply.github.com>

Merge #2237

2237: Cleanup r=wmww a=AlanGriffiths

A bit of tidying up inspired by trying the new CLion's code inspection

Co-authored-by: Alan Griffiths <email address hidden>

700c4c5... by "bors[bot]" <26634292+bors[bot]@users.noreply.github.com>

Merge #2232

2232: gbm-kms: Try harder to pick a working GBM framebuffer format r=AlanGriffiths a=RAOF

Some drivers (*cough* Mali) don't support rendering to `RGBX` GBM buffers. We don't care about the difference between `RGBX` and `RGBA` for framebuffers, so check whether `RGBX` will work and try to fall back to `RGBA` if it doesn't.

There are some obvious points of further work here - checking what formats the *display* hardware supports and using that to populate the `MirDisplayConfiguration`, respecting the pixel format specified in the `MirDisplayConfiguration`, and so on - but that should be deferred until we make the switch to Atomic KMS.

Closes: #2226

Co-authored-by: Christopher James Halse Rogers <email address hidden>

3338d05... by Chris Halse Rogers

gbm-kms: Simplify code by turning a massive lambda into a named function

c353db8... by Chris Halse Rogers

tests/gbm-kms: Test {A,X}RGB pixel format fallback behaviour

6a7d391... by Alan Griffiths

Bump mirserver ABI

434b09a... by Alan Griffiths

mirdraw has shrunk to nothing

987b3c2... by Alan Griffiths

HostLifecycleEventListener isn't connected to anything

34327a5... by Alan Griffiths

Dead code

ce7595d... by Alan Griffiths

CLion spotted a few grammar and spelling