cros, gbm: gfx::OVERLAY_TRANSFORM_NONE is DRM_ROTATE_0, not 0.
This CL fixes chrome UI hang with --enable-drm-atomic on IA. When hang, the following error message is reported. [17889:17901:0619/140657.974833:ERROR:hardware_display_plane_manager_atomic.cc(78)] Failed to commit properties: Invalid argument It's because drmModeAtomicAddProperty() expects one of DRM_ROTATE_XXX as plane rotation value. ARM and Rockchip generously accept the invaild variable 0, but Intel doesn't. In addition, correct the local definition of DRM_ROTATE_XXX to match to the upstream kernel. https://chromium.googlesource.com/chromiumos/third_party/kernel/+/intel-graphics/syncfence_ams_npf_mst_607_r2/include/drm/drm_blend.h#37 TEST=run chromeos reef image using cros kernel intel-graphics/syncfence_ams_npf_mst_607_r2 branch BUG=b/36752417 Change-Id: I8abab16450cf79769692bd40de03a6005f5a024a Reviewed-on: https://chromium-review.googlesource.com/540656Reviewed-by:Dongseong Hwang <dongseong.hwang@intel.com> Reviewed-by:
Daniele Castagna <dcastagna@chromium.org> Reviewed-by:
Daniel Nicoara <dnicoara@chromium.org> Commit-Queue: Dongseong Hwang <dongseong.hwang@intel.com> Cr-Commit-Position: refs/heads/master@{#480969}
Showing
Please register or sign in to comment