intel / IA-Hardware-Composer

35 stars 81 forks source link

support Iris driver #594

Closed tpalli closed 5 years ago

tpalli commented 5 years ago

Patch forces compositor to disable sync if this was explicitly wanted during build since setting property 'board.disable.explicit.sync' does not work as expected.

Jira: None Test: Compile and run sucessfully with Iris driver on Android. Signed-off-by: Tapani Pälli tapani.palli@intel.com

js0701 commented 5 years ago

Hi Tapani,

Why Iris can't support explict sync? Android framework is using explict fence to sync

tpalli commented 5 years ago

Hi Tapani,

Why Iris can't support explict sync? Android framework is using explict fence to sync

It does not seem to work yet (and is currently disabled in driver by not exposing PIPE_CAP_NATIVE_FENCE_FD capability) , I'm assuming this to be a bug in Iris driver, I've tried to fix things but haven't found a cure so far.

tpalli commented 5 years ago

Note I'm fine not merging this yet. I'm just basically trying to reduce the amount of diff I have for making Iris to work so that it would be easier to do testing and development as I have changes in multiple repos.

js0701 commented 5 years ago

OK. I think best way it to fix in Iris i915 so explicit fence can be supported

tpalli commented 5 years ago

OK. I think best way it to fix in Iris i915 so explicit fence can be supported

OK that is fine. I've pushed small changes to minigbm, libdrm (external) and selinux. There are additional changes required in mesa, mixins and also hwcomposer (these). Anyone wanting to test Iris, please contact me and I can help if having problems.