public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Jani Nikula <jani.nikula@linux.intel.com>
To: Chris Wilson <chris@chris-wilson.co.uk>, intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH dim] dim-update-next: Update DRIVER_TIMESTAMP
Date: Thu, 20 Oct 2016 17:34:29 +0300	[thread overview]
Message-ID: <87a8dzqebu.fsf@intel.com> (raw)
In-Reply-To: <20161020104258.28175-1-chris@chris-wilson.co.uk>

On Thu, 20 Oct 2016, Chris Wilson <chris@chris-wilson.co.uk> wrote:
> Along with the DRIVER_DATE, also update the DRIVER_TIMESTAMP as measured
> in seconds from the start of the epoch.
>
> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
> Cc: Daniel Vetter <daniel@ffwll.ch>

Reviewed-by: Jani Nikula <jani.nikula@intel.com>


> ---
>  dim | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/dim b/dim
> index 5fb3a0f..6670593 100755
> --- a/dim
> +++ b/dim
> @@ -881,7 +881,8 @@ function dim_update_next
>  	fi
>  
>  	driver_date=`date +%Y%m%d`
> -	$DRY sed -i -e "s/^#define DRIVER_DATE.*\"[0-9]*\"$/#define DRIVER_DATE\t\t\"$driver_date\"/" \
> +	driver_timestamp=`date +%s`
> +	$DRY sed -i -e "s/^#define DRIVER_DATE.*\"[0-9]*\"$/#define DRIVER_DATE\t\t\"$driver_date\"/; s/^#define DRIVER_TIMESTAMP.*/#define DRIVER_TIMESTAMP\t$driver_timestamp/" \
>  	     drivers/gpu/drm/i915/i915_drv.h
>  	$DRY git add drivers/gpu/drm/i915/i915_drv.h
>  	echo -e "drm/i915: Update DRIVER_DATE to $driver_date\n\nSigned-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>" | \

-- 
Jani Nikula, Intel Open Source Technology Center
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

      reply	other threads:[~2016-10-20 14:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-20 10:42 [PATCH dim] dim-update-next: Update DRIVER_TIMESTAMP Chris Wilson
2016-10-20 14:34 ` Jani Nikula [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=87a8dzqebu.fsf@intel.com \
    --to=jani.nikula@linux.intel.com \
    --cc=chris@chris-wilson.co.uk \
    --cc=intel-gfx@lists.freedesktop.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox