drm/i915: GVT-g driver depends on 64BIT kernel
diff mbox

Message ID 20161021043859.16217-1-zhenyuw@linux.intel.com
State New
Headers show

Commit Message

Zhenyu Wang Oct. 21, 2016, 4:38 a.m. UTC
We currently don't support GVT-g driver on i386 kernel.
Add explicit dependence on 64bit kernel.

Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
---
 drivers/gpu/drm/i915/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Joonas Lahtinen Oct. 21, 2016, 6:44 a.m. UTC | #1
On pe, 2016-10-21 at 12:38 +0800, Zhenyu Wang wrote:
> We currently don't support GVT-g driver on i386 kernel.
> Add explicit dependence on 64bit kernel.
> 
> Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>

Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>

Regards, Joonas
Chris Wilson Oct. 21, 2016, 8:05 a.m. UTC | #2
On Fri, Oct 21, 2016 at 12:38:59PM +0800, Zhenyu Wang wrote:
> We currently don't support GVT-g driver on i386 kernel.
> Add explicit dependence on 64bit kernel.

Can we at least get clean compilation on 32bit? That's the only limiting
factor really...
-Chris
Zhenyu Wang Oct. 21, 2016, 8:26 a.m. UTC | #3
On 2016.10.21 09:05:21 +0100, Chris Wilson wrote:
> On Fri, Oct 21, 2016 at 12:38:59PM +0800, Zhenyu Wang wrote:
> > We currently don't support GVT-g driver on i386 kernel.
> > Add explicit dependence on 64bit kernel.
> 
> Can we at least get clean compilation on 32bit? That's the only limiting
> factor really...

ok, that would need more extra work, will double check later.

Patch
diff mbox

diff --git a/drivers/gpu/drm/i915/Kconfig b/drivers/gpu/drm/i915/Kconfig
index 6aedc96..c72b007 100644
--- a/drivers/gpu/drm/i915/Kconfig
+++ b/drivers/gpu/drm/i915/Kconfig
@@ -86,6 +86,7 @@  config DRM_I915_USERPTR
 config DRM_I915_GVT
         bool "Enable Intel GVT-g graphics virtualization host support"
         depends on DRM_I915
+        depends on 64BIT
         default n
         help
 	  Choose this option if you want to enable Intel GVT-g graphics