OSDN Git Service

PresentDisplay should return true if modeset is succesful.
authorCarlos Santa <carlos.santa@intel.com>
Fri, 3 Feb 2017 02:48:43 +0000 (18:48 -0800)
committerKalyan Kondapally <kalyan.kondapally@intel.com>
Fri, 3 Feb 2017 02:48:43 +0000 (18:48 -0800)
commit17a441b1b9b11cb4122cd37d555fecc6f3f9e20c
tree1ef7d5e0f186b98574843ecc2e0c3e4e02c04a44
parent5c06e972a6ef3951627f9f037d8b02cdbac90e8a
PresentDisplay should return true if modeset is succesful.

If we are doing modeset or commit failed we return false in
PresentDisplay, which means we failed to update layers. While
this is correct when commit failed, this is not true when commit
passed and we are handling modeset. Right thing is to just return
the value of succesful_commit here.

Bug ID: https://01.org/jira/browse/AIA-131
Test: hwc-drm-two: Failed to set layers in the composition is not shown
      in logcat during boot up.

Signed-off-by: Carlos Santa <carlos.santa@intel.com>
common/core/internaldisplay.cpp