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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Dec 30, 2020 at 6:08 AM Chenyang Li <lichenyang@xxxxxxxxxxx> wrote:
> +       switch (format->format) {
> +       case DRM_FORMAT_RGB565:
> +               lcrtc->cfg_reg |= 0x3;
> +               break;
> +       case DRM_FORMAT_RGB888:
> +       default:
> +               lcrtc->cfg_reg |= 0x4;
> +               break;
> +       }

How does the scanout engine distinguish between RGB888 (24-bit) and
XRGB8888 (32-bit)? You've listed both as supported below.

Cheers,

  -ilia
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel



[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux