[PATCH hwc v2 1/6] drm_hwcomposer: Remove threading

Chih-Wei Huang cwhuang at android-x86.org
Thu Sep 28 16:43:23 UTC 2017


2017-09-27 19:58 GMT+08:00 Robert Foss <robert.foss at collabora.com>:
> From: Sean Paul <seanpaul at chromium.org>
>
> Since HWC2 doesn't require the use of threads to implement correct
> synchronization, remove some of these threads.

May I ask to avoid HWC2 only implementation?
The main reason is not all GPUs support
drm_hwcompser (as discussed in another thread).
To continue supporting these GPUs we need to
keep using HWC1 version of SurfaceFlinger.
So it's better to keep the code compatible with
HWC1. At least make it be a compile-time option.

Personally I have a patch to make
HWC1 vs HWC2 a compile-time choice
of drm_hwcomposer.
I can submit it if it's acceptable.


-- 
Chih-Wei
Android-x86 project
http://www.android-x86.org


More information about the dri-devel mailing list