dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Joonyoung Shim <jy0922.shim@samsung.com>
To: Leela Krishna Amudala <l.krishna@samsung.com>
Cc: inki.dae@samsung.com, olofj@google.com,
	laurent.pinchart@ideasonboard.com,
	dri-devel@lists.freedesktop.org,
	Prathyush K <prathyush.k@samsung.com>
Subject: Re: [PATCH 2/2] drm/exynos: Modifying exynos drm fimd to support exynos5
Date: Fri, 20 Jul 2012 15:49:42 +0900	[thread overview]
Message-ID: <5008FF86.9000606@samsung.com> (raw)
In-Reply-To: <1341577694-28937-3-git-send-email-l.krishna@samsung.com>

Hi,

Some minor commants.

On 07/06/2012 09:28 PM, Leela Krishna Amudala wrote:
> From: Prathyush K <prathyush.k@samsung.com>
>
> The name of the exynos drm fimd device is renamed to exynos-drm-fimd
> and two ids are created for exynos4-fb and exynos5-fb.

Please write the subject clearly this patch is to do what.
How about "add platform_device_id table for exynos5 fimd"?

>
> Signed-off-by: Prathyush K <prathyush.k@samsung.com>
>
> diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c b/drivers/gpu/drm/exynos/exynos_drm_fimd.c
> index 37769cf..f7bb0a0 100644
> --- a/drivers/gpu/drm/exynos/exynos_drm_fimd.c
> +++ b/drivers/gpu/drm/exynos/exynos_drm_fimd.c
> @@ -1092,6 +1092,16 @@ static const struct of_device_id drm_fimd_dt_match[] = {
>   MODULE_DEVICE_TABLE(of, drm_fimd_dt_match);
>   #endif
>   
> +static struct platform_device_id exynos_drm_driver_ids[] = {

Use fimd_ prefix, such as "fimd_driver_ids".

> +	{
> +		.name		= "exynos4-fb",
> +	}, {
> +		.name		= "exynos5-fb",
> +	},
> +	{},
> +};
> +MODULE_DEVICE_TABLE(platform, exynos_drm_driver_ids);
> +
>   static const struct dev_pm_ops fimd_pm_ops = {
>   	SET_SYSTEM_SLEEP_PM_OPS(fimd_suspend, fimd_resume)
>   	SET_RUNTIME_PM_OPS(fimd_runtime_suspend, fimd_runtime_resume, NULL)
> @@ -1100,8 +1110,9 @@ static const struct dev_pm_ops fimd_pm_ops = {
>   struct platform_driver fimd_driver = {
>   	.probe		= fimd_probe,
>   	.remove		= __devexit_p(fimd_remove),
> +	.id_table       = exynos_drm_driver_ids,
>   	.driver		= {
> -		.name	= "exynos4-fb",
> +		.name	= "exynos-drm-fimd",
>   		.owner	= THIS_MODULE,
>   		.pm	= &fimd_pm_ops,
>   		.of_match_table = of_match_ptr(drm_fimd_dt_match),

Thanks.

      reply	other threads:[~2012-07-20  6:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-06 12:28 [PATCH 0/2] video: drm: Add Device tree support to DRM-FIMD Leela Krishna Amudala
2012-07-06 12:28 ` [PATCH 1/2] video: drm: exynos: Add device tree support Leela Krishna Amudala
2012-07-06 16:42   ` Olof Johansson
2012-07-07  2:10   ` Kyungmin Park
2012-07-06 12:28 ` [PATCH 2/2] drm/exynos: Modifying exynos drm fimd to support exynos5 Leela Krishna Amudala
2012-07-20  6:49   ` Joonyoung Shim [this message]

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=5008FF86.9000606@samsung.com \
    --to=jy0922.shim@samsung.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=inki.dae@samsung.com \
    --cc=l.krishna@samsung.com \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=olofj@google.com \
    --cc=prathyush.k@samsung.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox