[Intel-gfx] [PATCH 11/11] drm/i915: Kill the 830 MI_OVERLAY_OFF workaround
kbuild test robot
lkp at intel.com
Thu Dec 8 14:27:45 UTC 2016
Hi Ville,
[auto build test WARNING on drm-intel/for-linux-next]
[also build test WARNING on next-20161208]
[cannot apply to v4.9-rc8]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/ville-syrjala-linux-intel-com/drm-i915-Overlay-fixes/20161208-060045
base: git://anongit.freedesktop.org/drm-intel for-linux-next
config: x86_64-randconfig-a0-12081851 (attached as .config)
compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All warnings (new ones prefixed by >>):
drivers/gpu/drm/i915/intel_overlay.c: In function 'intel_overlay_off':
>> drivers/gpu/drm/i915/intel_overlay.c:409: warning: unused variable 'dev_priv'
vim +/dev_priv +409 drivers/gpu/drm/i915/intel_overlay.c
71f85de3 Ville Syrjälä 2016-12-07 393 container_of(active, typeof(*overlay), last_flip);
18cb592b Ville Syrjälä 2016-12-07 394 struct drm_i915_private *dev_priv = overlay->i915;
71f85de3 Ville Syrjälä 2016-12-07 395
71f85de3 Ville Syrjälä 2016-12-07 396 intel_overlay_release_old_vma(overlay);
03f77ea5 Daniel Vetter 2009-09-15 397
b303cf95 Chris Wilson 2010-08-12 398 overlay->crtc->overlay = NULL;
b303cf95 Chris Wilson 2010-08-12 399 overlay->crtc = NULL;
209c2a5e Ville Syrjälä 2015-03-31 400 overlay->active = false;
18cb592b Ville Syrjälä 2016-12-07 401
18cb592b Ville Syrjälä 2016-12-07 402 if (IS_I830(dev_priv))
18cb592b Ville Syrjälä 2016-12-07 403 i830_overlay_clock_gating(dev_priv, true);
02e792fb Daniel Vetter 2009-09-15 404 }
02e792fb Daniel Vetter 2009-09-15 405
02e792fb Daniel Vetter 2009-09-15 406 /* overlay needs to be disabled in OCMD reg */
ce453d81 Chris Wilson 2011-02-21 407 static int intel_overlay_off(struct intel_overlay *overlay)
02e792fb Daniel Vetter 2009-09-15 408 {
1ee8da6d Chris Wilson 2016-05-12 @409 struct drm_i915_private *dev_priv = overlay->i915;
dad540ce John Harrison 2015-05-29 410 struct drm_i915_gem_request *req;
7e37f889 Chris Wilson 2016-08-02 411 struct intel_ring *ring;
8dc5d147 Chris Wilson 2010-08-12 412 u32 flip_addr = overlay->flip_addr;
e1f99ce6 Chris Wilson 2010-10-27 413 int ret;
02e792fb Daniel Vetter 2009-09-15 414
77589f56 Ville Syrjälä 2015-03-31 415 WARN_ON(!overlay->active);
02e792fb Daniel Vetter 2009-09-15 416
02e792fb Daniel Vetter 2009-09-15 417 /* According to intel docs the overlay hw may hang (when switching
:::::: The code at line 409 was first introduced by commit
:::::: 1ee8da6df17dc481948aa2d04005e87bc7d387a4 drm/i915: Convert intel_overlay.c to use native drm_i915_private pointers
:::::: TO: Chris Wilson <chris at chris-wilson.co.uk>
:::::: CC: Chris Wilson <chris at chris-wilson.co.uk>
---
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/gzip
Size: 30900 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20161208/941cc000/attachment-0001.gz>
More information about the Intel-gfx
mailing list