/* SPDX-License-Identifier: GPL-2.0 */ /* * Simple pci display device. * * Framebuffer memory is pci bar 0. * Configuration (read-only) is in pci config space. * Format field uses drm fourcc codes. * ATM only DRM_FORMAT_XRGB8888 is supported. */ /* pci ids */ #define MDPY_PCI_VENDOR_ID … #define MDPY_PCI_DEVICE_ID … #define MDPY_PCI_SUBVENDOR_ID … #define MDPY_PCI_SUBDEVICE_ID … /* pci cfg space offsets for fb config (dword) */ #define MDPY_VENDORCAP_OFFSET … #define MDPY_VENDORCAP_SIZE … #define MDPY_FORMAT_OFFSET … #define MDPY_WIDTH_OFFSET … #define MDPY_HEIGHT_OFFSET …