Re: [PATCH] drm/mediatek: Fix can't get component for external display plane.

2019-12-11 Thread CK Hu
Hi, Pi-Hsun: On Mon, 2019-12-02 at 13:24 +0800, CK Hu wrote: > Hi, Pi-Hsun: > > > On Wed, 2019-11-27 at 18:04 +0800, Pi-Hsun Shih wrote: > > From: Yongqiang Niu > > > > The original logic is ok for primary display, but will not find out > > component for external display. > > > > For example,

Re: [PATCH] drm/mediatek: Fix can't get component for external display plane.

2019-12-01 Thread CK Hu
Hi, Pi-Hsun: On Wed, 2019-11-27 at 18:04 +0800, Pi-Hsun Shih wrote: > From: Yongqiang Niu > > The original logic is ok for primary display, but will not find out > component for external display. > > For example, plane->index is 6 for external display, but there are only > 2 layer nr in extern