TO: Damien Lespiau <[email protected]>
CC: Daniel Vetter <[email protected]>

tree:   git://anongit.freedesktop.org/drm-intel drm-intel-nightly
head:   0e3c37cedf582819b6dbdd0bf0b14a15d3c2e47d
commit: 93180785d44e3d417099e293b9ff6eeb4fd20aa2 [228/239] drm/i915: Rename 
plane_config to initial_plane_config
:::::: branch date: 3 hours ago
:::::: commit date: 21 hours ago

New smatch warnings:
drivers/gpu/drm/i915/intel_display.c:6588 i9xx_get_initial_plane_config() warn: 
struct type mismatch 'drm_framebuffer vs intel_framebuffer'
drivers/gpu/drm/i915/intel_display.c:7617 skylake_get_initial_plane_config() 
warn: struct type mismatch 'drm_framebuffer vs intel_framebuffer'
drivers/gpu/drm/i915/intel_display.c:7710 ironlake_get_initial_plane_config() 
warn: struct type mismatch 'drm_framebuffer vs intel_framebuffer'

Old smatch warnings:
drivers/gpu/drm/i915/intel_display.c:9883 intel_crtc_page_flip() warn: 
inconsistent returns 'mutex:&dev->struct_mutex'.
  Locked on:   line 9729
  Unlocked on: line 9854

git remote add drm-intel git://anongit.freedesktop.org/drm-intel
git remote update drm-intel
git checkout 93180785d44e3d417099e293b9ff6eeb4fd20aa2
vim +6588 drivers/gpu/drm/i915/intel_display.c

f646628b Ville Syrjälä  2013-10-14  6572        /* clock.dot is the fast clock 
*/
f646628b Ville Syrjälä  2013-10-14  6573        pipe_config->port_clock = 
clock.dot / 5;
acbec814 Jesse Barnes   2013-09-20  6574  }
acbec814 Jesse Barnes   2013-09-20  6575  
93180785 Damien Lespiau 2015-01-20  6576  static void
93180785 Damien Lespiau 2015-01-20  6577  i9xx_get_initial_plane_config(struct 
intel_crtc *crtc,
93180785 Damien Lespiau 2015-01-20  6578                              struct 
intel_initial_plane_config *plane_config)
1ad292b5 Jesse Barnes   2014-03-07  6579  {
1ad292b5 Jesse Barnes   2014-03-07  6580        struct drm_device *dev = 
crtc->base.dev;
1ad292b5 Jesse Barnes   2014-03-07  6581        struct drm_i915_private 
*dev_priv = dev->dev_private;
1ad292b5 Jesse Barnes   2014-03-07  6582        u32 val, base, offset;
1ad292b5 Jesse Barnes   2014-03-07  6583        int pipe = crtc->pipe, plane = 
crtc->plane;
1ad292b5 Jesse Barnes   2014-03-07  6584        int fourcc, pixel_format;
1ad292b5 Jesse Barnes   2014-03-07  6585        int aligned_height;
11c3e27a Damien Lespiau 2015-01-20  6586        struct drm_framebuffer *fb;
1ad292b5 Jesse Barnes   2014-03-07  6587  
11c3e27a Damien Lespiau 2015-01-20 @6588        fb = kzalloc(sizeof(struct 
intel_framebuffer), GFP_KERNEL);
11c3e27a Damien Lespiau 2015-01-20  6589        if (!fb) {
1ad292b5 Jesse Barnes   2014-03-07  6590                DRM_DEBUG_KMS("failed 
to alloc fb\n");
1ad292b5 Jesse Barnes   2014-03-07  6591                return;
1ad292b5 Jesse Barnes   2014-03-07  6592        }
1ad292b5 Jesse Barnes   2014-03-07  6593  
1ad292b5 Jesse Barnes   2014-03-07  6594        val = I915_READ(DSPCNTR(plane));
1ad292b5 Jesse Barnes   2014-03-07  6595  
1ad292b5 Jesse Barnes   2014-03-07  6596        if (INTEL_INFO(dev)->gen >= 4)

:::::: The code at line 6588 was first introduced by commit
:::::: 11c3e27ab0d9d8ee3da7e515e79fd69034504218 drm/i915: Unclutter the 
get_plane() functions

:::::: TO: Damien Lespiau <[email protected]>
:::::: CC: Daniel Vetter <[email protected]>

---
0-DAY kernel test infrastructure                Open Source Technology Center
http://lists.01.org/mailman/listinfo/kbuild                 Intel Corporation
_______________________________________________
kbuild mailing list
[email protected]
https://lists.01.org/mailman/listinfo/kbuild

Reply via email to