All of lore.kernel.org
 help / color / mirror / Atom feed
From: Boris Brezillon <boris.brezillon@free-electrons.com>
To: ville.syrjala@linux.intel.com
Cc: dri-devel@lists.freedesktop.org
Subject: Re: [PATCH 03/20] drm/atmel-hlcdc: Constify function pointer structs
Date: Fri, 9 Oct 2015 22:59:29 +0200	[thread overview]
Message-ID: <20151009225929.13eb8a1b@bbrezillon> (raw)
In-Reply-To: <1441190658-6616-3-git-send-email-ville.syrjala@linux.intel.com>

Hi Ville,

On Wed,  2 Sep 2015 13:44:01 +0300
ville.syrjala@linux.intel.com wrote:

> From: Ville Syrjälä <ville.syrjala@linux.intel.com>
> 
> Moves a bunch of junk to .rodata from .data.
> 
> drivers/gpu/drm/atmel-hlcdc/atmel-hlcdc-dc.ko:
> -.text                       12488
> +.text                       12480
> -.rodata                      1696
> +.rodata                      1760
> -.data                         776
> +.data                         712
> 
> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>

Again, just for the record since Thierry already have this patch in his
DRM trivial tree:

Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>

> ---
>  drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_output.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_output.c b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_output.c
> index 067e4c1..250f69e 100644
> --- a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_output.c
> +++ b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_output.c
> @@ -146,7 +146,7 @@ atmel_hlcdc_rgb_encoder_mode_set(struct drm_encoder *encoder,
>  			   cfg);
>  }
>  
> -static struct drm_encoder_helper_funcs atmel_hlcdc_panel_encoder_helper_funcs = {
> +static const struct drm_encoder_helper_funcs atmel_hlcdc_panel_encoder_helper_funcs = {
>  	.mode_fixup = atmel_hlcdc_panel_encoder_mode_fixup,
>  	.mode_set = atmel_hlcdc_rgb_encoder_mode_set,
>  	.disable = atmel_hlcdc_panel_encoder_disable,
> @@ -192,7 +192,7 @@ atmel_hlcdc_rgb_best_encoder(struct drm_connector *connector)
>  	return &rgb->encoder;
>  }
>  
> -static struct drm_connector_helper_funcs atmel_hlcdc_panel_connector_helper_funcs = {
> +static const struct drm_connector_helper_funcs atmel_hlcdc_panel_connector_helper_funcs = {
>  	.get_modes = atmel_hlcdc_panel_get_modes,
>  	.mode_valid = atmel_hlcdc_rgb_mode_valid,
>  	.best_encoder = atmel_hlcdc_rgb_best_encoder,



-- 
Boris Brezillon, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

  reply	other threads:[~2015-10-09 20:59 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-02 10:43 [PATCH 01/20] drm: Constify drm_encoder_slave_funcs ville.syrjala
2015-09-02 10:44 ` [PATCH 02/20] drm/armada: Constify function pointer structs ville.syrjala
2015-09-02 10:44 ` [PATCH 03/20] drm/atmel-hlcdc: " ville.syrjala
2015-10-09 20:59   ` Boris Brezillon [this message]
2015-09-02 10:44 ` [PATCH 04/20] drm/bochs: " ville.syrjala
2015-09-02 10:44 ` [PATCH 05/20] drm/bridge/dw_hdmi: " ville.syrjala
2015-09-02 10:44 ` [PATCH 06/20] drm/bridge/nxp-ptn3460: " ville.syrjala
2015-09-02 10:44 ` [PATCH 07/20] drm/i2c/ch7006: " ville.syrjala
2015-09-02 10:44 ` [PATCH 08/20] drm/cirrus: " ville.syrjala
2015-09-02 10:44 ` [PATCH 09/20] drm/exynos: " ville.syrjala
2015-09-02 12:24   ` Gustavo Padovan
2015-09-02 10:44 ` [PATCH 10/20] drm/i2c/adv7511: " ville.syrjala
2015-09-02 10:44 ` [PATCH 11/20] drm/i2c/sil164: " ville.syrjala
2015-09-02 10:44 ` [PATCH 12/20] drm/i2c/tda998x: " ville.syrjala
2015-09-02 10:44 ` [PATCH 13/20] drm/imx: " ville.syrjala
2015-09-02 10:44 ` [PATCH 14/20] drm/mgag200: " ville.syrjala
2015-09-02 10:44 ` [PATCH 15/20] drm/nouveau: " ville.syrjala
2015-09-02 10:44 ` [PATCH 16/20] drm/rockchip: " ville.syrjala
2015-09-02 10:44 ` [PATCH 17/20] drm/sti: " ville.syrjala
2015-09-02 10:44 ` [PATCH 18/20] drm/tegra: " ville.syrjala
2015-09-02 10:44 ` [PATCH 19/20] drm/udl: " ville.syrjala
2015-09-02 10:44 ` [PATCH 20/20] drm/vmwgfx: " ville.syrjala

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=20151009225929.13eb8a1b@bbrezillon \
    --to=boris.brezillon@free-electrons.com \
    --cc=dri-devel@lists.freedesktop.org \
    --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: 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.