[Intel-gfx] [RFC 1/1] drm/i915: Add scheduling priority to per-context parameters

kbuild test robot lkp at intel.com
Thu Oct 1 08:35:09 PDT 2015


Hi Dave,

[auto build test results on v4.3-rc3 -- if it's inappropriate base, please ignore]

config: x86_64-allyesconfig (attached as .config)
reproduce:
        git checkout 5be87551bfc8fabcb9cad4762a45c0f12d0c6cdf
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All error/warnings (new ones prefixed by >>):

   drivers/gpu/drm/i915/i915_gem_context.c: In function 'i915_gem_context_setparam_ioctl':
>> drivers/gpu/drm/i915/i915_gem_context.c:950:26: error: 'I915_SCHED_PRIORITY_MAX' undeclared (first use in this function)
      else if (args->value > I915_SCHED_PRIORITY_MAX)
                             ^
   drivers/gpu/drm/i915/i915_gem_context.c:950:26: note: each undeclared identifier is reported only once for each function it appears in

vim +/I915_SCHED_PRIORITY_MAX +950 drivers/gpu/drm/i915/i915_gem_context.c

   944			}
   945			break;
   946	
   947		case I915_CONTEXT_PARAM_PRIORITY:
   948			if (args->size)
   949				ret = -EINVAL;
 > 950			else if (args->value > I915_SCHED_PRIORITY_MAX)
   951				ret = -EINVAL;
   952			else if (args->value > ctx->sched_info.priority &&
   953				 !capable(CAP_SYS_ADMIN))

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/octet-stream
Size: 50361 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20151001/6d37f0dd/attachment-0001.obj>


More information about the Intel-gfx mailing list