[Intel-gfx] [PATCH 2/2] drm/i915/skl: Add support for pipe background color
kbuild test robot
lkp at intel.com
Thu Oct 22 18:08:21 PDT 2015
Hi Matt,
[auto build test WARNING on drm/drm-next -- if it's inappropriate base, please suggest rules for selecting the more suitable base]
url: https://github.com/0day-ci/linux/commits/Matt-Roper/CRTC-background-color-support-for-i915/20151023-082852
config: x86_64-rhel (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All warnings (new ones prefixed by >>):
drivers/gpu/drm/i915/i915_debugfs.c: In function 'i915_display_info':
>> drivers/gpu/drm/i915/i915_debugfs.c:2987:8: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'uint64_t' [-Wformat=]
DRM_RGBA_BLUEBITS(background, 10));
^
drivers/gpu/drm/i915/i915_debugfs.c:2987:8: warning: too many arguments for format [-Wformat-extra-args]
vim +2987 drivers/gpu/drm/i915/i915_debugfs.c
2971 intel_crtc_info(m, crtc);
2972
2973 active = cursor_position(dev, crtc->pipe, &x, &y);
2974 seq_printf(m, "\tcursor visible? %s, position (%d, %d), size %dx%d, addr 0x%08x, active? %s\n",
2975 yesno(crtc->cursor_base),
2976 x, y, crtc->base.cursor->state->crtc_w,
2977 crtc->base.cursor->state->crtc_h,
2978 crtc->cursor_addr, yesno(active));
2979 }
2980 if (INTEL_INFO(dev)->gen >= 9 && pipe_config->base.active) {
2981 drm_rgba_t background = pipe_config->base.background_color;
2982
2983 seq_printf(m, "\tbackground color (10bpc): r=%x g=%x b=%x\n",
2984 background.v,
2985 DRM_RGBA_REDBITS(background, 10),
2986 DRM_RGBA_GREENBITS(background, 10),
> 2987 DRM_RGBA_BLUEBITS(background, 10));
2988 }
2989
2990 seq_printf(m, "\tunderrun reporting: cpu=%s pch=%s \n",
2991 yesno(!crtc->cpu_fifo_underrun_disabled),
2992 yesno(!crtc->pch_fifo_underrun_disabled));
2993 }
2994
2995 seq_printf(m, "\n");
---
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: 35271 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20151023/e0e3dcfa/attachment-0001.obj>
More information about the Intel-gfx
mailing list