[Intel-gfx] [PATCH] drm/i915: Consider plane rotation when calculating stride in skl_do_mmio_flip

kbuild test robot lkp at intel.com
Wed Oct 7 03:24:00 PDT 2015


Hi Tvrtko,

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

config: x86_64-randconfig-x013-201540 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/gpu/drm/i915/intel_display.c: In function 'skl_do_mmio_flip':
>> drivers/gpu/drm/i915/intel_display.c:11119:17: error: too many arguments to function 'intel_tile_height'
      tile_height = intel_tile_height(dev, fb->pixel_format,
                    ^
   drivers/gpu/drm/i915/intel_display.c:2231:1: note: declared here
    intel_tile_height(struct drm_device *dev, uint32_t pixel_format,
    ^

vim +/intel_tile_height +11119 drivers/gpu/drm/i915/intel_display.c

 11113		/*
 11114		 * The stride is either expressed as a multiple of 64 bytes chunks for
 11115		 * linear buffers or in number of tiles for tiled buffers.
 11116		 */
 11117		if (intel_rotation_90_or_270(plane->state->rotation)) {
 11118			/* stride = Surface height in tiles */
 11119			tile_height = intel_tile_height(dev, fb->pixel_format,
 11120							fb->modifier[0], 0);
 11121			stride = DIV_ROUND_UP(fb->height, tile_height);
 11122		} else {

---
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: 19899 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20151007/4d4954bf/attachment-0001.obj>


More information about the Intel-gfx mailing list