All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denis@denix.org>
To: Sinthu Raja <sinthu.raja@mistralsolutions.com>
Cc: meta-arago@lists.yoctoproject.org, reatmon@ti.com,
	Sinthu Raja <sinthu.raja@ti.com>
Subject: Re: [meta-arago][kirkstone][PATCH] graphics: kms++: Enable OmapCard support in pykms library
Date: Mon, 12 Feb 2024 11:44:54 -0500	[thread overview]
Message-ID: <20240212164454.GI15614@denix.org> (raw)
In-Reply-To: <20240212163122.20728-1-sinthu.raja@ti.com>

On Mon, Feb 12, 2024 at 10:01:22PM +0530, Sinthu Raja wrote:
> From: Sinthu Raja <sinthu.raja@ti.com>
> 
> AM57x platform supports OMAP DRM. By default the pykms library
> disabled the OmapCard support. Enable the same by defining the
> HAS_LIBDRM_OMAP as a compiler flags
> 
> Signed-off-by: Sinthu Raja <sinthu.raja@ti.com>
> ---
>  ...-Add-OMAP-Card-support-for-AM57x-DRM.patch | 26 +++++++++++++++++++
>  .../recipes-graphics/kms++/kms++_git.bb       |  2 ++
>  2 files changed, 28 insertions(+)
>  create mode 100644 meta-arago-extras/recipes-graphics/kms++/kms++/0001-Add-OMAP-Card-support-for-AM57x-DRM.patch
> 
> diff --git a/meta-arago-extras/recipes-graphics/kms++/kms++/0001-Add-OMAP-Card-support-for-AM57x-DRM.patch b/meta-arago-extras/recipes-graphics/kms++/kms++/0001-Add-OMAP-Card-support-for-AM57x-DRM.patch
> new file mode 100644
> index 00000000..48c9068d
> --- /dev/null
> +++ b/meta-arago-extras/recipes-graphics/kms++/kms++/0001-Add-OMAP-Card-support-for-AM57x-DRM.patch
> @@ -0,0 +1,26 @@
> +From bc6e89ea8695c7e94eb6892755e47781682e28a7 Mon Sep 17 00:00:00 2001
> +From: Sinthu Raja <sinthu.raja@ti.com>
> +Date: Mon, 12 Feb 2024 21:47:52 +0530
> +Subject: [PATCH] Add OMAP Card support for AM57x DRM

Upstream-Status?
https://docs.yoctoproject.org/contributor-guide/recipe-style-guide.html#patch-upstream-status


> +Signed-off-by: Sinthu Raja <sinthu.raja@ti.com>
> +---
> + py/pykms/meson.build | 2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
> +
> +diff --git a/py/pykms/meson.build b/py/pykms/meson.build
> +index de05d12..ce6c013 100644
> +--- a/py/pykms/meson.build
> ++++ b/py/pykms/meson.build
> +@@ -49,7 +49,7 @@ if get_option('libutils')
> +     pykms_deps += [ libkmsxxutil_dep ]
> + endif
> + 
> +-pykms_args = [ '-fvisibility=hidden' ]
> ++pykms_args = [ '-fvisibility=hidden' , '-DHAS_LIBDRM_OMAP' ]
> + 
> + destdir = get_option('libdir') / 'python' + py3_dep.version() / 'site-packages/pykms'
> + 
> +-- 
> +2.36.1
> +
> diff --git a/meta-arago-extras/recipes-graphics/kms++/kms++_git.bb b/meta-arago-extras/recipes-graphics/kms++/kms++_git.bb
> index 2c0abaa7..010a1f0a 100644
> --- a/meta-arago-extras/recipes-graphics/kms++/kms++_git.bb
> +++ b/meta-arago-extras/recipes-graphics/kms++/kms++_git.bb
> @@ -28,3 +28,5 @@ inherit python3native meson pkgconfig update-alternatives
>  ALTERNATIVE_PRIORITY = "100"
>  ALTERNATIVE:${PN} = "kmstest"
>  ALTERNATIVE_LINK_NAME[kmstest] = "${bindir}/kmstest"
> +
> +SRC_URI:append:am57xx = "file://0001-Add-OMAP-Card-support-for-AM57x-DRM.patch"

Leading whitespace when using :append

-- 
Denys


  reply	other threads:[~2024-02-12 16:45 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-12 16:31 [meta-arago][kirkstone][PATCH] graphics: kms++: Enable OmapCard support in pykms library Sinthu Raja
2024-02-12 16:44 ` Denys Dmytriyenko [this message]
2024-02-12 17:06 ` Andrew Davis
2024-02-13  6:41   ` Sinthu Raja M
2024-02-13  8:28     ` Devarsh Thakkar
2024-02-13  8:47       ` Tomi Valkeinen
2024-02-13  9:27         ` Sinthu Raja M
2024-02-13 16:05           ` Andrew Davis
2024-02-26 14:51             ` Devarsh Thakkar
2024-02-26 14:57               ` Tomi Valkeinen

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=20240212164454.GI15614@denix.org \
    --to=denis@denix.org \
    --cc=meta-arago@lists.yoctoproject.org \
    --cc=reatmon@ti.com \
    --cc=sinthu.raja@mistralsolutions.com \
    --cc=sinthu.raja@ti.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: link
Be 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.