Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Archit Taneja <architt@codeaurora.org>
To: Daniel Vetter <daniel@ffwll.ch>, Jani Nikula <jani.nikula@intel.com>
Cc: daniel.vetter@ffwll.ch, intel-gfx@lists.freedesktop.org
Subject: Re: [dim PATCH] dim: restore cd in update_rerere_cache()
Date: Tue, 18 Jul 2017 13:22:38 +0530	[thread overview]
Message-ID: <fc45665a-964f-b940-2ac5-3ab60fcdd14d@codeaurora.org> (raw)
In-Reply-To: <20170718075035.aehfa4a7gmc345dt@phenom.ffwll.local>



On 07/18/2017 01:20 PM, Daniel Vetter wrote:
> On Tue, Jul 18, 2017 at 10:15:25AM +0300, Jani Nikula wrote:
>> The refactoring dropped a cd to the drm-rerere dir, leading to "cp:
>> cannot stat 'rr-cache/*': No such file or directory" on dim ub.
>>
>> Reported-by: Archit Taneja <architt@codeaurora.org>
>> Fixes: 599eb3db59c9 ("dim: Move all rerere updating into helpers")
>> Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
>> Cc: Sean Paul <seanpaul@chromium.org>
>> Signed-off-by: Jani Nikula <jani.nikula@intel.com>
> 
> Thx for spotting this.
> 
> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>

Thanks, works for me now.

Tested-by: Archit Taneja <architt@codeaurora.org>

>> ---
>>   dim | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/dim b/dim
>> index 1fcd8d73fe1e..6ba2c085be16 100755
>> --- a/dim
>> +++ b/dim
>> @@ -495,6 +495,7 @@ function update_rerere_cache
>>   {
>>   	echo -n "Updating rerere cache... "
>>   
>> +	cd $DIM_PREFIX/drm-rerere/
>>   	git pull
>>   	mkdir $(rr_cache_dir) &> /dev/null || true
>>   	cp rr-cache/* $(rr_cache_dir) -r --preserve=timestamps
>> -- 
>> 2.11.0
>>
> 

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

  reply	other threads:[~2017-07-18  7:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-18  7:15 [dim PATCH] dim: restore cd in update_rerere_cache() Jani Nikula
2017-07-18  7:50 ` Daniel Vetter
2017-07-18  7:52   ` Archit Taneja [this message]
2017-07-18  8:06     ` Jani Nikula

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=fc45665a-964f-b940-2ac5-3ab60fcdd14d@codeaurora.org \
    --to=architt@codeaurora.org \
    --cc=daniel.vetter@ffwll.ch \
    --cc=daniel@ffwll.ch \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=jani.nikula@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox