]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/i915: Shut up GuC errors when it's disabled
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 23 Oct 2015 09:10:59 +0000 (11:10 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sat, 31 Oct 2015 08:26:19 +0000 (09:26 +0100)
commit9f9e539f90bcecfdc7b3679d337b7a62d4313205
tree900b9f0c377880b23b239bc89bf98ac0d3dfba6f
parentcbdc12a9fc9d273a648e94eeee6794646f0158f2
drm/i915: Shut up GuC errors when it's disabled

DRM_ERROR an continue without any issues aren't allowed since that
causes noise in the CI system. But we absolutely want to have the
DRM_ERROR when we want to run with GuC.

For simplicity just short-circuit all the loader code when it's not
needed.

v2: Mika&Chris complained that I shouldn't hit send on patches written
before coffee kicks in.

v3: Make it compile at least ...

Cc: Alex Dai <yu.dai@intel.com>
Cc: Dave Gordon <david.s.gordon@intel.com>
Cc: Mika Kuoppala <mika.kuoppala@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1445591459-4327-1-git-send-email-daniel.vetter@ffwll.ch
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/intel_guc_loader.c