Re: [PATCH] drm/loongson: Add DRM Driver for Loongson 7A1000 bridge chip

2020-12-30 Thread Ilia Mirkin
On Wed, Dec 30, 2020 at 6:08 AM Chenyang Li wrote: > + switch (format->format) { > + case DRM_FORMAT_RGB565: > + lcrtc->cfg_reg |= 0x3; > + break; > + case DRM_FORMAT_RGB888: > + default: > + lcrtc->cfg_reg |= 0x4; > +

[PATCH] drm/loongson: Add DRM Driver for Loongson 7A1000 bridge chip

2020-12-30 Thread Chenyang Li
This patch adds an initial DRM driver for the Loongson LS7A1000 bridge chip(LS7A). The LS7A bridge chip contains two display controllers, support dual display output. The maximum support for each channel display is to 1920x1080@60Hz. At present, DC device detection and DRM driver registration are c