From: Thomas Zimmermann <tzimmermann@suse.de> To: airlied@linux.ie, daniel@ffwll.ch, maarten.lankhorst@linux.intel.com, mripard@kernel.org, sean@poorly.run, b.zolnierkie@samsung.com, ajax@redhat.com, ville.syrjala@linux.intel.com, malat@debian.org, michel@daenzer.net Cc: gregkh@linuxfoundation.org, linux-fbdev@vger.kernel.org, Thomas Zimmermann <tzimmermann@suse.de>, dri-devel@lists.freedesktop.org, corbet@lwn.net Subject: [PATCH v2 04/15] drm: Add fbconv helper module Date: Mon, 14 Oct 2019 14:04:05 +0000 [thread overview] Message-ID: <20191014140416.28517-5-tzimmermann@suse.de> (raw) In-Reply-To: <20191014140416.28517-1-tzimmermann@suse.de> This adds fbconv helpers for DRM to the build infrastructure. The configuration symbol is DRM_FBCONV_HELPERS. Drivers should select it if they wish to use fbconv. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> --- drivers/gpu/drm/Kconfig | 10 ++++++++++ drivers/gpu/drm/Makefile | 1 + drivers/gpu/drm/drm_fbconv_helper.c | 1 + 3 files changed, 12 insertions(+) create mode 100644 drivers/gpu/drm/drm_fbconv_helper.c diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig index 9591bd720e56..ed689201ec81 100644 --- a/drivers/gpu/drm/Kconfig +++ b/drivers/gpu/drm/Kconfig @@ -157,6 +157,16 @@ config DRM_DP_CEC Note: not all adapters support this feature, and even for those that do support this they often do not hook up the CEC pin. +config DRM_FBCONV_HELPER + tristate "Enable fbdev conversion helpers" + depends on DRM + help + Provides helpers for running DRM on top of fbdev drivers. Choose + this option if you're converting an fbdev driver to DRM. The + helpers provide conversion functions for fbdev data structures + and allow to build a basic DRM driver on top of the fbdev + interfaces. + config DRM_TTM tristate depends on DRM && MMU diff --git a/drivers/gpu/drm/Makefile b/drivers/gpu/drm/Makefile index 9f1c7c486f88..a7178245d938 100644 --- a/drivers/gpu/drm/Makefile +++ b/drivers/gpu/drm/Makefile @@ -52,6 +52,7 @@ drm_kms_helper-$(CONFIG_DRM_FBDEV_EMULATION) += drm_fb_helper.o drm_kms_helper-$(CONFIG_DRM_KMS_CMA_HELPER) += drm_fb_cma_helper.o drm_kms_helper-$(CONFIG_DRM_DP_AUX_CHARDEV) += drm_dp_aux_dev.o drm_kms_helper-$(CONFIG_DRM_DP_CEC) += drm_dp_cec.o +drm_kms_helper-$(CONFIG_DRM_FBCONV_HELPER) += drm_fbconv_helper.o obj-$(CONFIG_DRM_KMS_HELPER) += drm_kms_helper.o obj-$(CONFIG_DRM_DEBUG_SELFTEST) += selftests/ diff --git a/drivers/gpu/drm/drm_fbconv_helper.c b/drivers/gpu/drm/drm_fbconv_helper.c new file mode 100644 index 000000000000..0cb46d2c98c3 --- /dev/null +++ b/drivers/gpu/drm/drm_fbconv_helper.c @@ -0,0 +1 @@ +// SPDX-License-Identifier: GPL-2.0-or-later -- 2.23.0
WARNING: multiple messages have this Message-ID (diff)
From: Thomas Zimmermann <tzimmermann@suse.de> To: airlied@linux.ie, daniel@ffwll.ch, maarten.lankhorst@linux.intel.com, mripard@kernel.org, sean@poorly.run, b.zolnierkie@samsung.com, ajax@redhat.com, ville.syrjala@linux.intel.com, malat@debian.org, michel@daenzer.net Cc: gregkh@linuxfoundation.org, linux-fbdev@vger.kernel.org, Thomas Zimmermann <tzimmermann@suse.de>, dri-devel@lists.freedesktop.org, corbet@lwn.net Subject: [PATCH v2 04/15] drm: Add fbconv helper module Date: Mon, 14 Oct 2019 16:04:05 +0200 [thread overview] Message-ID: <20191014140416.28517-5-tzimmermann@suse.de> (raw) In-Reply-To: <20191014140416.28517-1-tzimmermann@suse.de> This adds fbconv helpers for DRM to the build infrastructure. The configuration symbol is DRM_FBCONV_HELPERS. Drivers should select it if they wish to use fbconv. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> --- drivers/gpu/drm/Kconfig | 10 ++++++++++ drivers/gpu/drm/Makefile | 1 + drivers/gpu/drm/drm_fbconv_helper.c | 1 + 3 files changed, 12 insertions(+) create mode 100644 drivers/gpu/drm/drm_fbconv_helper.c diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig index 9591bd720e56..ed689201ec81 100644 --- a/drivers/gpu/drm/Kconfig +++ b/drivers/gpu/drm/Kconfig @@ -157,6 +157,16 @@ config DRM_DP_CEC Note: not all adapters support this feature, and even for those that do support this they often do not hook up the CEC pin. +config DRM_FBCONV_HELPER + tristate "Enable fbdev conversion helpers" + depends on DRM + help + Provides helpers for running DRM on top of fbdev drivers. Choose + this option if you're converting an fbdev driver to DRM. The + helpers provide conversion functions for fbdev data structures + and allow to build a basic DRM driver on top of the fbdev + interfaces. + config DRM_TTM tristate depends on DRM && MMU diff --git a/drivers/gpu/drm/Makefile b/drivers/gpu/drm/Makefile index 9f1c7c486f88..a7178245d938 100644 --- a/drivers/gpu/drm/Makefile +++ b/drivers/gpu/drm/Makefile @@ -52,6 +52,7 @@ drm_kms_helper-$(CONFIG_DRM_FBDEV_EMULATION) += drm_fb_helper.o drm_kms_helper-$(CONFIG_DRM_KMS_CMA_HELPER) += drm_fb_cma_helper.o drm_kms_helper-$(CONFIG_DRM_DP_AUX_CHARDEV) += drm_dp_aux_dev.o drm_kms_helper-$(CONFIG_DRM_DP_CEC) += drm_dp_cec.o +drm_kms_helper-$(CONFIG_DRM_FBCONV_HELPER) += drm_fbconv_helper.o obj-$(CONFIG_DRM_KMS_HELPER) += drm_kms_helper.o obj-$(CONFIG_DRM_DEBUG_SELFTEST) += selftests/ diff --git a/drivers/gpu/drm/drm_fbconv_helper.c b/drivers/gpu/drm/drm_fbconv_helper.c new file mode 100644 index 000000000000..0cb46d2c98c3 --- /dev/null +++ b/drivers/gpu/drm/drm_fbconv_helper.c @@ -0,0 +1 @@ +// SPDX-License-Identifier: GPL-2.0-or-later -- 2.23.0 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2019-10-14 14:04 UTC|newest] Thread overview: 77+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-10-14 14:04 [PATCH v2 00/15] DRM fbconv helpers for converting fbdev drivers Thomas Zimmermann 2019-10-14 14:04 ` Thomas Zimmermann 2019-10-14 14:04 ` [PATCH v2 01/15] fbdev: Export fb_check_foreignness() Thomas Zimmermann 2019-10-14 14:04 ` Thomas Zimmermann 2019-10-14 14:04 ` [PATCH v2 02/15] fbdev: Export FBPIXMAPSIZE Thomas Zimmermann 2019-10-14 14:04 ` Thomas Zimmermann 2019-10-14 14:04 ` [PATCH v2 03/15] drm/simple-kms-helper: Add mode_fixup() to simple display pipe Thomas Zimmermann 2019-10-14 14:04 ` Thomas Zimmermann 2019-10-14 14:04 ` Thomas Zimmermann [this message] 2019-10-14 14:04 ` [PATCH v2 04/15] drm: Add fbconv helper module Thomas Zimmermann 2019-10-14 14:04 ` [PATCH v2 05/15] drm/fbconv: Add DRM <-> fbdev pixel-format conversion Thomas Zimmermann 2019-10-14 14:04 ` Thomas Zimmermann 2019-10-14 20:30 ` Sam Ravnborg 2019-10-14 20:30 ` Sam Ravnborg 2019-10-15 5:48 ` Thomas Zimmermann 2019-10-15 5:48 ` Thomas Zimmermann 2019-10-14 14:04 ` [PATCH v2 06/15] drm/fbconv: Add mode conversion DRM <-> fbdev Thomas Zimmermann 2019-10-14 14:04 ` Thomas Zimmermann 2019-10-14 14:04 ` [PATCH v2 07/15] drm/fbconv: Add modesetting infrastructure Thomas Zimmermann 2019-10-14 14:04 ` Thomas Zimmermann 2019-10-14 14:04 ` [PATCH v2 08/15] drm/fbconv: Add plane-state check and update Thomas Zimmermann 2019-10-14 14:04 ` Thomas Zimmermann 2019-10-15 8:30 ` kbuild test robot 2019-10-15 8:30 ` kbuild test robot 2019-10-15 8:30 ` kbuild test robot 2019-10-15 17:28 ` kbuild test robot 2019-10-15 17:28 ` kbuild test robot 2019-10-15 17:28 ` kbuild test robot 2019-10-14 14:04 ` [PATCH v2 09/15] drm/fbconv: Mode-setting pipeline enable / disable Thomas Zimmermann 2019-10-14 14:04 ` Thomas Zimmermann 2022-05-28 20:17 ` Geert Uytterhoeven 2022-05-28 20:17 ` Geert Uytterhoeven 2022-05-30 7:47 ` Thomas Zimmermann 2022-05-30 7:47 ` Thomas Zimmermann 2022-05-30 8:34 ` Geert Uytterhoeven 2022-05-30 8:34 ` Geert Uytterhoeven 2022-07-01 20:01 ` Geert Uytterhoeven 2022-07-01 20:01 ` Geert Uytterhoeven 2019-10-14 14:04 ` [PATCH v2 10/15] drm/fbconv: Reimplement several fbdev interfaces Thomas Zimmermann 2019-10-14 14:04 ` Thomas Zimmermann 2019-10-14 14:04 ` [PATCH v2 11/15] drm/fbconv: Add helpers for init and cleanup of fb_info structures Thomas Zimmermann 2019-10-14 14:04 ` Thomas Zimmermann 2019-10-14 14:04 ` [PATCH v2 12/15] drm/fbconv: Add helper documentation Thomas Zimmermann 2019-10-14 14:04 ` Thomas Zimmermann 2019-10-15 8:40 ` kbuild test robot 2019-10-15 8:40 ` kbuild test robot 2019-10-15 8:40 ` kbuild test robot 2019-10-14 14:04 ` [PATCH v2 13/15] staging: Add mgakms driver Thomas Zimmermann 2019-10-14 14:04 ` Thomas Zimmermann 2019-10-14 14:04 ` [PATCH v2 14/15] staging/mgakms: Import matroxfb driver source code Thomas Zimmermann 2019-10-15 11:48 ` Ville Syrjälä 2019-10-15 11:48 ` Ville Syrjälä 2019-10-15 12:46 ` Thomas Zimmermann 2019-10-15 12:46 ` Thomas Zimmermann 2019-10-14 14:04 ` [PATCH v2 15/15] staging/mgakms: Update matroxfb driver code for DRM Thomas Zimmermann 2019-10-14 14:04 ` Thomas Zimmermann 2019-10-17 16:04 ` kbuild test robot 2019-10-17 16:04 ` kbuild test robot 2019-10-17 16:19 ` kbuild test robot 2019-10-17 16:19 ` kbuild test robot 2019-10-17 16:19 ` kbuild test robot 2019-10-14 20:36 ` [PATCH v2 00/15] DRM fbconv helpers for converting fbdev drivers Sam Ravnborg 2019-10-14 20:36 ` Sam Ravnborg 2019-10-15 6:11 ` Thomas Zimmermann 2019-10-15 6:11 ` Thomas Zimmermann 2019-10-15 14:33 ` Daniel Vetter 2019-10-15 14:33 ` Daniel Vetter 2019-10-15 17:28 ` Thomas Zimmermann 2019-10-15 17:28 ` Thomas Zimmermann 2019-10-15 17:48 ` Daniel Vetter 2019-10-15 17:48 ` Daniel Vetter 2019-10-15 18:05 ` Greg KH 2019-10-15 18:05 ` Greg KH 2019-10-15 18:13 ` Ville Syrjälä 2019-10-15 18:13 ` Ville Syrjälä 2019-10-15 18:28 ` Ville Syrjälä 2019-10-15 18:28 ` Ville Syrjälä
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20191014140416.28517-5-tzimmermann@suse.de \ --to=tzimmermann@suse.de \ --cc=airlied@linux.ie \ --cc=ajax@redhat.com \ --cc=b.zolnierkie@samsung.com \ --cc=corbet@lwn.net \ --cc=daniel@ffwll.ch \ --cc=dri-devel@lists.freedesktop.org \ --cc=gregkh@linuxfoundation.org \ --cc=linux-fbdev@vger.kernel.org \ --cc=maarten.lankhorst@linux.intel.com \ --cc=malat@debian.org \ --cc=michel@daenzer.net \ --cc=mripard@kernel.org \ --cc=sean@poorly.run \ --cc=ville.syrjala@linux.intel.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.