Re: [PATCH] drm/i915: Consider plane rotation when calculating stride in skl_do_mmio_flip

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: .config.gz
Description: Binary data

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux