Re: [PATCH v2] drm/mediatek: Set the default value of rotation to DRM_MODE_ROTATE_0

2021-12-29 Thread Mark Yacoub
hey - uploaded v2 that takes care of the panel: https://patchwork.kernel.org/project/linux-mediatek/patch/20211229184420.793234-1-markyac...@chromium.org/ Thanks! On Tue, Dec 14, 2021 at 10:26 AM Mark Yacoub wrote: > > Thank you so much! > > On Mon, Dec 13, 2021 at 6:27 PM Chun-Kuang Hu wrote:

Re: [PATCH v2] drm/mediatek: Set the default value of rotation to DRM_MODE_ROTATE_0

2021-12-14 Thread Mark Yacoub
Thank you so much! On Mon, Dec 13, 2021 at 6:27 PM Chun-Kuang Hu wrote: > > Hi, Mark: > > Mark Yacoub 於 2021年12月14日 週二 上午12:08寫道: > > > > At the reset hook, call __drm_atomic_helper_plane_reset which is > > called at the initialization of the plane and sets the default value of > > rotation on a

Re: [PATCH v2] drm/mediatek: Set the default value of rotation to DRM_MODE_ROTATE_0

2021-12-13 Thread Chun-Kuang Hu
Hi, Mark: Mark Yacoub 於 2021年12月14日 週二 上午12:08寫道: > > At the reset hook, call __drm_atomic_helper_plane_reset which is > called at the initialization of the plane and sets the default value of > rotation on all planes to DRM_MODE_ROTATE_0 which is equal to 1. Applied to mediatek-drm-next [1], th

[PATCH v2] drm/mediatek: Set the default value of rotation to DRM_MODE_ROTATE_0

2021-12-13 Thread Mark Yacoub
At the reset hook, call __drm_atomic_helper_plane_reset which is called at the initialization of the plane and sets the default value of rotation on all planes to DRM_MODE_ROTATE_0 which is equal to 1. Tested on Jacuzzi (MTK). Resolves IGT@kms_properties@plane-properties-{legacy,atomic} Signed-of