All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@redhat.com>
To: Arvind Yadav <arvind.yadav.cs@gmail.com>, airlied@linux.ie
Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org,
	virtualization@lists.linux-foundation.org
Subject: Re: [PATCH] drm: ttm: virtio-gpu: dma-buf: Constify ttm_place structures.
Date: Mon, 03 Jul 2017 11:48:01 +0200	[thread overview]
Message-ID: <1499075281.771.10.camel__10178.5054117956$1499075298$gmane$org@redhat.com> (raw)
In-Reply-To: <25a189402a516a0142d9a4412da0a597c660a96a.1498981093.git.arvind.yadav.cs@gmail.com>

On Sun, 2017-07-02 at 13:11 +0530, Arvind Yadav wrote:
> ttm_place are not supposed to change at runtime. All functions
> working with ttm_place provided by <drm/ttm/ttm_placement.h> work
> with const ttm_place. So mark the non-const structs as const.
> 
> File size before:
>    text	   data	    bss	    dec	    hex	
> filename
>    2315	    184	      0	   2499	    9c3
> drivers/gpu/drm/virtio/virtgpu_ttm.o
> 
> File size After adding 'const':
>    text	   data	    bss	    dec	    hex	
> filename
>    2347	    152	      0	   2499	    9c3
> drivers/gpu/drm/virtio/virtgpu_ttm.o
> 
> Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>

pushed to drm-misc-next (qxl patch too).

cheers,
  Gerd

_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization

  reply	other threads:[~2017-07-03  9:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-02  7:41 [PATCH] drm: ttm: virtio-gpu: dma-buf: Constify ttm_place structures Arvind Yadav
2017-07-03  9:48 ` Gerd Hoffmann [this message]
2017-07-03  9:48 ` Gerd Hoffmann
2017-07-02  7:41 Arvind Yadav

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='1499075281.771.10.camel__10178.5054117956$1499075298$gmane$org@redhat.com' \
    --to=kraxel@redhat.com \
    --cc=airlied@linux.ie \
    --cc=arvind.yadav.cs@gmail.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=virtualization@lists.linux-foundation.org \
    /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.