intel / IA-Hardware-Composer

35 stars 81 forks source link

Fixed the fence fd leak in SetLayerBuffer. #717

Closed shuangwan01 closed 3 years ago

shuangwan01 commented 3 years ago

Fence fd needs to be closed if it's not going to be used in HWC composition. This is typically for layer types of Client, Sideband, SolidColor and layer with NULL buffer attached.

Change-Id: Icd5d5061011a16bae9f5b1062e7aadeedfff3efa Tracked-On: OAM-96402 Signed-off-by: Wan Shuang shuang.wan@intel.com