All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Vetter <daniel@ffwll.ch>
To: Randy Dunlap <rdunlap@infradead.org>,
	Zhenyu Wang <zhenyuw@linux.intel.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>,
	linux-next <linux-next@vger.kernel.org>,
	intel-gfx <intel-gfx@lists.freedesktop.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	dri-devel <dri-devel@lists.freedesktop.org>
Subject: Re: [Intel-gfx] linux-next: Tree for Oct 20 (gpu/drm/i915)
Date: Thu, 20 Oct 2016 19:47:55 +0200	[thread overview]
Message-ID: <CAKMK7uGYS9=2xG8fO_PRcqc_v=FOkKqzgXdZ2C5QtbJvprLDMQ@mail.gmail.com> (raw)
In-Reply-To: <0c3c853b-3116-2935-c449-f63b21bb569d@infradead.org>

On Thu, Oct 20, 2016 at 7:37 PM, Randy Dunlap <rdunlap@infradead.org> wrote:
> On 10/19/16 20:20, Stephen Rothwell wrote:
>> Hi all,
>>
>> Changes since 20161019:
>>
>
> on i386: when CONFIG_ACPI is not enabled:

Adding Zhenyu. Might be good to have a fix just for this that I
directly pick up, since I want to tag the first 4.10 pull for Dave
Airlie this w/e.
-Daniel

> ../drivers/gpu/drm/i915/gvt/opregion.c: In function 'intel_gvt_init_opregion':
> ../drivers/gpu/drm/i915/gvt/opregion.c:183:2: error: implicit declaration of function 'acpi_os_ioremap' [-Werror=implicit-function-declaration]
>   gvt->opregion.opregion_va = acpi_os_ioremap(gvt->opregion.opregion_pa,
>   ^
> ../drivers/gpu/drm/i915/gvt/opregion.c:183:28: warning: assignment makes pointer from integer without a cast [enabled by default]
>   gvt->opregion.opregion_va = acpi_os_ioremap(gvt->opregion.opregion_pa,
>                             ^
> ../drivers/gpu/drm/i915/gvt/gtt.c: In function 'read_pte64':
> ../drivers/gpu/drm/i915/gvt/gtt.c:277:2: warning: left shift count >= width of type [enabled by default]
>   pte |= ioread32(addr + 4) << 32;
>   ^
> ../drivers/gpu/drm/i915/gvt/gtt.c: In function 'gen8_gtt_get_pfn':
> ../drivers/gpu/drm/i915/gvt/gtt.c:360:3: warning: left shift count >= width of type [enabled by default]
>    pfn = (e->val64 & ADDR_4K_MASK) >> 12;
>    ^
> ../drivers/gpu/drm/i915/gvt/gtt.c: In function 'gen8_gtt_set_pfn':
> ../drivers/gpu/drm/i915/gvt/gtt.c:373:3: warning: left shift count >= width of type [enabled by default]
>    e->val64 &= ~ADDR_4K_MASK;
>    ^
> ../drivers/gpu/drm/i915/gvt/gtt.c:374:3: warning: left shift count >= width of type [enabled by default]
>    pfn &= (ADDR_4K_MASK >> 12);
>    ^
> ../drivers/gpu/drm/i915/gvt/gtt.c: In function 'gen8_gma_to_pml4_index':
> ../drivers/gpu/drm/i915/gvt/gtt.c:436:1: warning: right shift count >= width of type [enabled by default]
>  DEFINE_PPGTT_GMA_TO_INDEX(gen8, pml4, (gma >> 39 & 0x1ff));
>  ^
>   CC      drivers/gpu/drm/radeon/si_smc.o
> In file included from ../drivers/gpu/drm/i915/i915_drv.h:46:0,
>                  from ../drivers/gpu/drm/i915/gvt/gtt.c:36:
> ../drivers/gpu/drm/i915/gvt/gtt.c: In function 'intel_gvt_create_scratch_page':
> ../drivers/gpu/drm/i915/gvt/gtt.c:1945:47: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
>    gvt_err("fail to translate vaddr:0x%llx\n", (u64)vaddr);
>                                                ^
> ../include/drm/drmP.h:201:43: note: in definition of macro 'DRM_ERROR'
>   drm_printk(KERN_ERR, DRM_UT_NONE, fmt, ##__VA_ARGS__)
>                                            ^
> ../drivers/gpu/drm/i915/gvt/gtt.c:1945:3: note: in expansion of macro 'gvt_err'
>    gvt_err("fail to translate vaddr:0x%llx\n", (u64)vaddr);
>    ^
>
>
>
> --
> ~Randy
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx



-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch

WARNING: multiple messages have this Message-ID (diff)
From: Daniel Vetter <daniel@ffwll.ch>
To: Randy Dunlap <rdunlap@infradead.org>,
	Zhenyu Wang <zhenyuw@linux.intel.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>,
	intel-gfx <intel-gfx@lists.freedesktop.org>,
	linux-next <linux-next@vger.kernel.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	dri-devel <dri-devel@lists.freedesktop.org>
Subject: Re: [Intel-gfx] linux-next: Tree for Oct 20 (gpu/drm/i915)
Date: Thu, 20 Oct 2016 19:47:55 +0200	[thread overview]
Message-ID: <CAKMK7uGYS9=2xG8fO_PRcqc_v=FOkKqzgXdZ2C5QtbJvprLDMQ@mail.gmail.com> (raw)
In-Reply-To: <0c3c853b-3116-2935-c449-f63b21bb569d@infradead.org>

On Thu, Oct 20, 2016 at 7:37 PM, Randy Dunlap <rdunlap@infradead.org> wrote:
> On 10/19/16 20:20, Stephen Rothwell wrote:
>> Hi all,
>>
>> Changes since 20161019:
>>
>
> on i386: when CONFIG_ACPI is not enabled:

Adding Zhenyu. Might be good to have a fix just for this that I
directly pick up, since I want to tag the first 4.10 pull for Dave
Airlie this w/e.
-Daniel

> ../drivers/gpu/drm/i915/gvt/opregion.c: In function 'intel_gvt_init_opregion':
> ../drivers/gpu/drm/i915/gvt/opregion.c:183:2: error: implicit declaration of function 'acpi_os_ioremap' [-Werror=implicit-function-declaration]
>   gvt->opregion.opregion_va = acpi_os_ioremap(gvt->opregion.opregion_pa,
>   ^
> ../drivers/gpu/drm/i915/gvt/opregion.c:183:28: warning: assignment makes pointer from integer without a cast [enabled by default]
>   gvt->opregion.opregion_va = acpi_os_ioremap(gvt->opregion.opregion_pa,
>                             ^
> ../drivers/gpu/drm/i915/gvt/gtt.c: In function 'read_pte64':
> ../drivers/gpu/drm/i915/gvt/gtt.c:277:2: warning: left shift count >= width of type [enabled by default]
>   pte |= ioread32(addr + 4) << 32;
>   ^
> ../drivers/gpu/drm/i915/gvt/gtt.c: In function 'gen8_gtt_get_pfn':
> ../drivers/gpu/drm/i915/gvt/gtt.c:360:3: warning: left shift count >= width of type [enabled by default]
>    pfn = (e->val64 & ADDR_4K_MASK) >> 12;
>    ^
> ../drivers/gpu/drm/i915/gvt/gtt.c: In function 'gen8_gtt_set_pfn':
> ../drivers/gpu/drm/i915/gvt/gtt.c:373:3: warning: left shift count >= width of type [enabled by default]
>    e->val64 &= ~ADDR_4K_MASK;
>    ^
> ../drivers/gpu/drm/i915/gvt/gtt.c:374:3: warning: left shift count >= width of type [enabled by default]
>    pfn &= (ADDR_4K_MASK >> 12);
>    ^
> ../drivers/gpu/drm/i915/gvt/gtt.c: In function 'gen8_gma_to_pml4_index':
> ../drivers/gpu/drm/i915/gvt/gtt.c:436:1: warning: right shift count >= width of type [enabled by default]
>  DEFINE_PPGTT_GMA_TO_INDEX(gen8, pml4, (gma >> 39 & 0x1ff));
>  ^
>   CC      drivers/gpu/drm/radeon/si_smc.o
> In file included from ../drivers/gpu/drm/i915/i915_drv.h:46:0,
>                  from ../drivers/gpu/drm/i915/gvt/gtt.c:36:
> ../drivers/gpu/drm/i915/gvt/gtt.c: In function 'intel_gvt_create_scratch_page':
> ../drivers/gpu/drm/i915/gvt/gtt.c:1945:47: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
>    gvt_err("fail to translate vaddr:0x%llx\n", (u64)vaddr);
>                                                ^
> ../include/drm/drmP.h:201:43: note: in definition of macro 'DRM_ERROR'
>   drm_printk(KERN_ERR, DRM_UT_NONE, fmt, ##__VA_ARGS__)
>                                            ^
> ../drivers/gpu/drm/i915/gvt/gtt.c:1945:3: note: in expansion of macro 'gvt_err'
>    gvt_err("fail to translate vaddr:0x%llx\n", (u64)vaddr);
>    ^
>
>
>
> --
> ~Randy
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx



-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

  reply	other threads:[~2016-10-20 17:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-20  3:20 linux-next: Tree for Oct 20 Stephen Rothwell
2016-10-20 17:37 ` linux-next: Tree for Oct 20 (gpu/drm/i915) Randy Dunlap
2016-10-20 17:47   ` Daniel Vetter [this message]
2016-10-20 17:47     ` [Intel-gfx] " Daniel Vetter
2016-10-20 18:25     ` Jani Nikula
2016-10-21  3:08       ` Zhenyu Wang

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='CAKMK7uGYS9=2xG8fO_PRcqc_v=FOkKqzgXdZ2C5QtbJvprLDMQ@mail.gmail.com' \
    --to=daniel@ffwll.ch \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-next@vger.kernel.org \
    --cc=rdunlap@infradead.org \
    --cc=sfr@canb.auug.org.au \
    --cc=zhenyuw@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.