drm/i915: drmP.h include removal w/ drm prep work
Subsystems (3)
cover drm/i915: drmP.h include removal w/ drm prep work
First make some drm headers self-contained, removing the implicit dependency on a previous drmP.h include. Then remove all drmP.h includes from drm/i915.
Inspired by Sam's series [1]. Theres a one line trivial conflict between that one and this series in drm_file.h (patch 3), but I'm keeping this series self-contained. Should be easy enough to resolve.
I'm fine with merging the first 5 through either drm-misc or drm-intel, but I'd rather merge the last one through drm-intel.
BR,
Jani.
Jani Nikula (6):
drm: include drm_device.h from drm_legacy.h
drm: include kernel.h and agp_backend.h from intel-gtt.h
drm: include idr.h from drm_file.h
drm: include types.h from drm_hdcp.h
drm: include drm_file.h from drm_syncobj.h drm/i915: drop all drmP.h includes
drivers/gpu/drm/i915/dvo.h | 1 - drivers/gpu/drm/i915/i915_drv.c | 1 - drivers/gpu/drm/i915/i915_drv.h | 2 +- drivers/gpu/drm/i915/i915_gem.c | 1 - drivers/gpu/drm/i915/i915_gem_context.c | 1 - drivers/gpu/drm/i915/i915_gem_dmabuf.c | 1 - drivers/gpu/drm/i915/i915_gem_evict.c | 1 - drivers/gpu/drm/i915/i915_gem_execbuffer.c | 1 - drivers/gpu/drm/i915/i915_gem_fence_reg.c | 1 - drivers/gpu/drm/i915/i915_gem_gtt.c | 1 - drivers/gpu/drm/i915/i915_gem_internal.c | 1 - drivers/gpu/drm/i915/i915_gem_object.h | 3 ++- drivers/gpu/drm/i915/i915_gem_shrinker.c | 1 - drivers/gpu/drm/i915/i915_gem_stolen.c | 1 - drivers/gpu/drm/i915/i915_gem_tiling.c | 1 - drivers/gpu/drm/i915/i915_gem_userptr.c | 1 - drivers/gpu/drm/i915/i915_ioc32.c | 1 - drivers/gpu/drm/i915/i915_irq.c | 1 - drivers/gpu/drm/i915/i915_suspend.c | 1 - drivers/gpu/drm/i915/i915_trace.h | 1 - drivers/gpu/drm/i915/intel_acpi.c | 1 - drivers/gpu/drm/i915/intel_atomic.c | 1 - drivers/gpu/drm/i915/intel_atomic_plane.c | 1 - drivers/gpu/drm/i915/intel_audio.c | 1 - drivers/gpu/drm/i915/intel_bios.c | 1 - drivers/gpu/drm/i915/intel_connector.c | 1 - drivers/gpu/drm/i915/intel_crt.c | 1 - drivers/gpu/drm/i915/intel_display.c | 1 - drivers/gpu/drm/i915/intel_dp.c | 1 - drivers/gpu/drm/i915/intel_dp_mst.c | 1 - drivers/gpu/drm/i915/intel_dsi.h | 1 - drivers/gpu/drm/i915/intel_dsi_vbt.c | 1 - drivers/gpu/drm/i915/intel_dvo.c | 1 - drivers/gpu/drm/i915/intel_fbdev.c | 1 - drivers/gpu/drm/i915/intel_frontbuffer.c | 1 - drivers/gpu/drm/i915/intel_hdcp.c | 1 - drivers/gpu/drm/i915/intel_hdmi.c | 1 - drivers/gpu/drm/i915/intel_hotplug.c | 1 - drivers/gpu/drm/i915/intel_i2c.c | 1 - drivers/gpu/drm/i915/intel_lrc.c | 1 - drivers/gpu/drm/i915/intel_lvds.c | 1 - drivers/gpu/drm/i915/intel_mocs.h | 1 - drivers/gpu/drm/i915/intel_opregion.c | 1 - drivers/gpu/drm/i915/intel_overlay.c | 1 - drivers/gpu/drm/i915/intel_psr.c | 1 - drivers/gpu/drm/i915/intel_ringbuffer.c | 1 - drivers/gpu/drm/i915/intel_sdvo.c | 1 - drivers/gpu/drm/i915/intel_sprite.c | 1 - drivers/gpu/drm/i915/intel_tv.c | 1 - drivers/gpu/drm/i915/intel_vdsc.c | 1 - drivers/gpu/drm/i915/vlv_dsi.c | 1 - include/drm/drm_file.h | 1 + include/drm/drm_hdcp.h | 2 ++ include/drm/drm_legacy.h | 1 + include/drm/drm_syncobj.h | 4 +++- include/drm/intel-gtt.h | 3 +++ 56 files changed, 13 insertions(+), 52 deletions(-)
Signature · 6 lines
2.11.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 1/6 drm: include drm_device.h from drm_legacy.h
Make it easier to drop drmP.h includes.
--- include/drm/drm_legacy.h | 1 + 1 file changed, 1 insertion(+)
include/drm/drm_legacy.h +1 -0
@@ -2,6 +2,7 @@#define __DRM_DRM_LEGACY_H__#include <drm/drm_auth.h> +#include <drm/drm_device.h> /* * Legacy driver interfaces for the Direct Rendering Manager
Signature · 6 lines
2.11.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 2/6 drm: include kernel.h and agp_backend.h from intel-gtt.h
In reply to Jani NikulaMake it easier to drop drmP.h includes.
--- include/drm/intel-gtt.h | 3 +++ 1 file changed, 3 insertions(+)
include/drm/intel-gtt.h +3 -0
@@ -4,6 +4,9 @@#ifndef _DRM_INTEL_GTT_H#define _DRM_INTEL_GTT_H +#include <linux/agp_backend.h> +#include <linux/kernel.h> +void intel_gtt_get (u64 *gtt_total,phys_addr_t *mappable_base,resource_size_t *mappable_end);
Signature · 6 lines
2.11.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 3/6 drm: include idr.h from drm_file.h
In reply to Jani NikulaMake it easier to drop drmP.h includes.
--- include/drm/drm_file.h | 1 + 1 file changed, 1 insertion(+)
include/drm/drm_file.h +1 -0
@@ -32,6 +32,7 @@#include <linux/types.h> #include <linux/completion.h> +#include <linux/idr.h> #include <uapi/drm/drm.h>
Signature · 6 lines
2.11.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 4/6 drm: include types.h from drm_hdcp.h
In reply to Jani NikulaMake it easier to drop drmP.h includes.
--- include/drm/drm_hdcp.h | 2 ++ 1 file changed, 2 insertions(+)
include/drm/drm_hdcp.h +2 -0
@@ -9,6 +9,8 @@#ifndef _DRM_HDCP_H_INCLUDED_#define _DRM_HDCP_H_INCLUDED_ +#include <linux/types.h> +/* Period of hdcp checks (to ensure we're still authenticated) */ #define DRM_HDCP_CHECK_PERIOD_MS (128 * 16)
Signature · 6 lines
2.11.0 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
PATCH 5/6 drm: include drm_file.h from drm_syncobj.h
In reply to Jani NikulaMake it easier to drop drmP.h includes. Switch from "" to <> includes while at it.
--- include/drm/drm_syncobj.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
include/drm/drm_syncobj.h +3 -1
@@ -26,7 +26,9 @@#ifndef __DRM_SYNCOBJ_H__#define __DRM_SYNCOBJ_H__ -#include "linux/dma-fence.h" +#include <linux/dma-fence.h> + +#include <drm/drm_file.h> /** * struct drm_syncobj - sync object.
Signature · 6 lines
2.11.0 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
PATCH 6/6 drm/i915: drop all drmP.h includes
In reply to Jani NikulaNeeds just a few additional includes here and there.
--- drivers/gpu/drm/i915/dvo.h | 1 - drivers/gpu/drm/i915/i915_drv.c | 1 - drivers/gpu/drm/i915/i915_drv.h | 2 +- drivers/gpu/drm/i915/i915_gem.c | 1 - drivers/gpu/drm/i915/i915_gem_context.c | 1 - drivers/gpu/drm/i915/i915_gem_dmabuf.c | 1 - drivers/gpu/drm/i915/i915_gem_evict.c | 1 - drivers/gpu/drm/i915/i915_gem_execbuffer.c | 1 - drivers/gpu/drm/i915/i915_gem_fence_reg.c | 1 - drivers/gpu/drm/i915/i915_gem_gtt.c | 1 - drivers/gpu/drm/i915/i915_gem_internal.c | 1 - drivers/gpu/drm/i915/i915_gem_object.h | 3 ++- drivers/gpu/drm/i915/i915_gem_shrinker.c | 1 - drivers/gpu/drm/i915/i915_gem_stolen.c | 1 - drivers/gpu/drm/i915/i915_gem_tiling.c | 1 - drivers/gpu/drm/i915/i915_gem_userptr.c | 1 - drivers/gpu/drm/i915/i915_ioc32.c | 1 - drivers/gpu/drm/i915/i915_irq.c | 1 - drivers/gpu/drm/i915/i915_suspend.c | 1 - drivers/gpu/drm/i915/i915_trace.h | 1 - drivers/gpu/drm/i915/intel_acpi.c | 1 - drivers/gpu/drm/i915/intel_atomic.c | 1 - drivers/gpu/drm/i915/intel_atomic_plane.c | 1 - drivers/gpu/drm/i915/intel_audio.c | 1 - drivers/gpu/drm/i915/intel_bios.c | 1 - drivers/gpu/drm/i915/intel_connector.c | 1 - drivers/gpu/drm/i915/intel_crt.c | 1 - drivers/gpu/drm/i915/intel_display.c | 1 - drivers/gpu/drm/i915/intel_dp.c | 1 - drivers/gpu/drm/i915/intel_dp_mst.c | 1 - drivers/gpu/drm/i915/intel_dsi.h | 1 - drivers/gpu/drm/i915/intel_dsi_vbt.c | 1 - drivers/gpu/drm/i915/intel_dvo.c | 1 - drivers/gpu/drm/i915/intel_fbdev.c | 1 - drivers/gpu/drm/i915/intel_frontbuffer.c | 1 - drivers/gpu/drm/i915/intel_hdcp.c | 1 - drivers/gpu/drm/i915/intel_hdmi.c | 1 - drivers/gpu/drm/i915/intel_hotplug.c | 1 - drivers/gpu/drm/i915/intel_i2c.c | 1 - drivers/gpu/drm/i915/intel_lrc.c | 1 - drivers/gpu/drm/i915/intel_lvds.c | 1 - drivers/gpu/drm/i915/intel_mocs.h | 1 - drivers/gpu/drm/i915/intel_opregion.c | 1 - drivers/gpu/drm/i915/intel_overlay.c | 1 - drivers/gpu/drm/i915/intel_psr.c | 1 - drivers/gpu/drm/i915/intel_ringbuffer.c | 1 - drivers/gpu/drm/i915/intel_sdvo.c | 1 - drivers/gpu/drm/i915/intel_sprite.c | 1 - drivers/gpu/drm/i915/intel_tv.c | 1 - drivers/gpu/drm/i915/intel_vdsc.c | 1 - drivers/gpu/drm/i915/vlv_dsi.c | 1 - 51 files changed, 3 insertions(+), 51 deletions(-)
drivers/gpu/drm/i915/dvo.h +0 -1
@@ -24,7 +24,6 @@#define _INTEL_DVO_H#include <linux/i2c.h> -#include <drm/drmP.h> #include <drm/drm_crtc.h> #include "intel_drv.h"
drivers/gpu/drm/i915/i915_drv.c +0 -1
@@ -41,7 +41,6 @@#include <linux/vt.h> #include <acpi/video.h> -#include <drm/drmP.h> #include <drm/drm_crtc_helper.h> #include <drm/drm_atomic_helper.h> #include <drm/i915_drm.h>
drivers/gpu/drm/i915/i915_drv.h +1 -1
@@ -46,7 +46,6 @@#include <linux/reservation.h> #include <linux/shmem_fs.h> -#include <drm/drmP.h> #include <drm/intel-gtt.h> #include <drm/drm_legacy.h> /* for struct drm_dma_handle */ #include <drm/drm_gem.h>
@@ -54,6 +53,7 @@#include <drm/drm_cache.h> #include <drm/drm_util.h> #include <drm/drm_dsc.h> +#include <drm/drm_connector.h> #include "i915_fixed.h" #include "i915_params.h"
drivers/gpu/drm/i915/i915_gem.c +0 -1
@@ -25,7 +25,6 @@* */ -#include <drm/drmP.h> #include <drm/drm_vma_manager.h> #include <drm/i915_drm.h> #include "i915_drv.h"
drivers/gpu/drm/i915/i915_gem_context.c +0 -1
@@ -86,7 +86,6 @@*/ #include <linux/log2.h> -#include <drm/drmP.h> #include <drm/i915_drm.h> #include "i915_drv.h" #include "i915_trace.h"
drivers/gpu/drm/i915/i915_gem_dmabuf.c +0 -1
@@ -27,7 +27,6 @@#include <linux/dma-buf.h> #include <linux/reservation.h> -#include <drm/drmP.h> #include "i915_drv.h"
drivers/gpu/drm/i915/i915_gem_evict.c +0 -1
@@ -26,7 +26,6 @@* */ -#include <drm/drmP.h> #include <drm/i915_drm.h> #include "i915_drv.h"
drivers/gpu/drm/i915/i915_gem_execbuffer.c +0 -1
@@ -31,7 +31,6 @@#include <linux/sync_file.h> #include <linux/uaccess.h> -#include <drm/drmP.h> #include <drm/drm_syncobj.h> #include <drm/i915_drm.h>
drivers/gpu/drm/i915/i915_gem_fence_reg.c +0 -1
@@ -21,7 +21,6 @@* IN THE SOFTWARE. */ -#include <drm/drmP.h> #include <drm/i915_drm.h> #include "i915_drv.h"
drivers/gpu/drm/i915/i915_gem_gtt.c +0 -1
@@ -33,7 +33,6 @@#include <asm/set_memory.h> -#include <drm/drmP.h> #include <drm/i915_drm.h> #include "i915_drv.h"
drivers/gpu/drm/i915/i915_gem_internal.c +0 -1
@@ -22,7 +22,6 @@* */ -#include <drm/drmP.h> #include <drm/i915_drm.h> #include "i915_drv.h"
drivers/gpu/drm/i915/i915_gem_object.h +2 -1
@@ -29,7 +29,8 @@#include <drm/drm_vma_manager.h> #include <drm/drm_gem.h> -#include <drm/drmP.h> +#include <drm/drm_file.h> +#include <drm/drm_device.h> #include <drm/i915_drm.h>
drivers/gpu/drm/i915/i915_gem_shrinker.c +0 -1
@@ -30,7 +30,6 @@#include <linux/pci.h> #include <linux/dma-buf.h> #include <linux/vmalloc.h> -#include <drm/drmP.h> #include <drm/i915_drm.h> #include "i915_drv.h"
drivers/gpu/drm/i915/i915_gem_stolen.c +0 -1
@@ -26,7 +26,6 @@* */ -#include <drm/drmP.h> #include <drm/i915_drm.h> #include "i915_drv.h"
drivers/gpu/drm/i915/i915_gem_tiling.c +0 -1
@@ -27,7 +27,6 @@#include <linux/string.h> #include <linux/bitops.h> -#include <drm/drmP.h> #include <drm/i915_drm.h> #include "i915_drv.h"
drivers/gpu/drm/i915/i915_gem_userptr.c +0 -1
@@ -22,7 +22,6 @@* */ -#include <drm/drmP.h> #include <drm/i915_drm.h> #include "i915_drv.h" #include "i915_trace.h"
drivers/gpu/drm/i915/i915_ioc32.c +0 -1
@@ -28,7 +28,6 @@*/ #include <linux/compat.h> -#include <drm/drmP.h> #include <drm/i915_drm.h> #include "i915_drv.h"
drivers/gpu/drm/i915/i915_irq.c +0 -1
@@ -31,7 +31,6 @@#include <linux/sysrq.h> #include <linux/slab.h> #include <linux/circ_buf.h> -#include <drm/drmP.h> #include <drm/i915_drm.h> #include "i915_drv.h" #include "i915_trace.h"
drivers/gpu/drm/i915/i915_suspend.c +0 -1
@@ -24,7 +24,6 @@* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -#include <drm/drmP.h> #include <drm/i915_drm.h> #include "intel_drv.h" #include "i915_reg.h"
drivers/gpu/drm/i915/i915_trace.h +0 -1
@@ -6,7 +6,6 @@#include <linux/types.h> #include <linux/tracepoint.h> -#include <drm/drmP.h> #include "i915_drv.h" #include "intel_drv.h" #include "intel_ringbuffer.h"
drivers/gpu/drm/i915/intel_acpi.c +0 -1
@@ -6,7 +6,6 @@*/ #include <linux/pci.h> #include <linux/acpi.h> -#include <drm/drmP.h> #include "i915_drv.h" #define INTEL_DSM_REVISION_ID 1/* For Calpella anyway... */
drivers/gpu/drm/i915/intel_atomic.c +0 -1
@@ -29,7 +29,6 @@* See intel_atomic_plane.c for the plane-specific atomic functionality. */ -#include <drm/drmP.h> #include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> #include <drm/drm_plane_helper.h>
drivers/gpu/drm/i915/intel_atomic_plane.c +0 -1
@@ -31,7 +31,6 @@* prepare/check/commit/cleanup steps. */ -#include <drm/drmP.h> #include <drm/drm_atomic_helper.h> #include <drm/drm_plane_helper.h> #include "intel_drv.h"
drivers/gpu/drm/i915/intel_audio.c +0 -1
@@ -27,7 +27,6 @@#include <drm/intel_lpe_audio.h> #include "intel_drv.h" -#include <drm/drmP.h> #include <drm/drm_edid.h> #include "i915_drv.h"
drivers/gpu/drm/i915/intel_bios.c +0 -1
@@ -26,7 +26,6 @@*/ #include <drm/drm_dp_helper.h> -#include <drm/drmP.h> #include <drm/i915_drm.h> #include "i915_drv.h"
drivers/gpu/drm/i915/intel_connector.c +0 -1
@@ -27,7 +27,6 @@#include <linux/i2c.h> #include <drm/drm_atomic_helper.h> #include <drm/drm_edid.h> -#include <drm/drmP.h> #include "intel_drv.h" #include "i915_drv.h"
drivers/gpu/drm/i915/intel_crt.c +0 -1
@@ -27,7 +27,6 @@#include <linux/dmi.h> #include <linux/i2c.h> #include <linux/slab.h> -#include <drm/drmP.h> #include <drm/drm_atomic_helper.h> #include <drm/drm_crtc.h> #include <drm/drm_crtc_helper.h>
drivers/gpu/drm/i915/intel_display.c +0 -1
@@ -31,7 +31,6 @@#include <linux/slab.h> #include <linux/vgaarb.h> #include <drm/drm_edid.h> -#include <drm/drmP.h> #include "intel_drv.h" #include "intel_frontbuffer.h" #include <drm/i915_drm.h>
drivers/gpu/drm/i915/intel_dp.c +0 -1
@@ -32,7 +32,6 @@#include <linux/notifier.h> #include <linux/reboot.h> #include <asm/byteorder.h> -#include <drm/drmP.h> #include <drm/drm_atomic_helper.h> #include <drm/drm_crtc.h> #include <drm/drm_crtc_helper.h>
drivers/gpu/drm/i915/intel_dp_mst.c +0 -1
@@ -23,7 +23,6 @@* */ -#include <drm/drmP.h> #include "i915_drv.h" #include "intel_drv.h" #include <drm/drm_atomic_helper.h>
drivers/gpu/drm/i915/intel_dsi.h +0 -1
@@ -24,7 +24,6 @@#ifndef _INTEL_DSI_H#define _INTEL_DSI_H -#include <drm/drmP.h> #include <drm/drm_crtc.h> #include <drm/drm_mipi_dsi.h> #include "intel_drv.h"
drivers/gpu/drm/i915/intel_dsi_vbt.c +0 -1
@@ -24,7 +24,6 @@* */ -#include <drm/drmP.h> #include <drm/drm_crtc.h> #include <drm/drm_edid.h> #include <drm/i915_drm.h>
drivers/gpu/drm/i915/intel_dvo.c +0 -1
@@ -26,7 +26,6 @@*/ #include <linux/i2c.h> #include <linux/slab.h> -#include <drm/drmP.h> #include <drm/drm_atomic_helper.h> #include <drm/drm_crtc.h> #include "intel_drv.h"
drivers/gpu/drm/i915/intel_fbdev.c +0 -1
@@ -37,7 +37,6 @@#include <linux/init.h> #include <linux/vga_switcheroo.h> -#include <drm/drmP.h> #include <drm/drm_crtc.h> #include <drm/drm_fb_helper.h> #include "intel_drv.h"
drivers/gpu/drm/i915/intel_frontbuffer.c +0 -1
@@ -60,7 +60,6 @@* functions is deprecated and should be avoided. */ -#include <drm/drmP.h> #include "intel_drv.h" #include "intel_frontbuffer.h"
drivers/gpu/drm/i915/intel_hdcp.c +0 -1
@@ -6,7 +6,6 @@* Sean Paul <[email protected]> */ -#include <drm/drmP.h> #include <drm/drm_hdcp.h> #include <linux/i2c.h> #include <linux/random.h>
drivers/gpu/drm/i915/intel_hdmi.c +0 -1
@@ -30,7 +30,6 @@#include <linux/slab.h> #include <linux/delay.h> #include <linux/hdmi.h> -#include <drm/drmP.h> #include <drm/drm_atomic_helper.h> #include <drm/drm_crtc.h> #include <drm/drm_edid.h>
drivers/gpu/drm/i915/intel_hotplug.c +0 -1
@@ -23,7 +23,6 @@#include <linux/kernel.h> -#include <drm/drmP.h> #include <drm/i915_drm.h> #include "i915_drv.h"
drivers/gpu/drm/i915/intel_i2c.c +0 -1
@@ -29,7 +29,6 @@#include <linux/i2c.h> #include <linux/i2c-algo-bit.h> #include <linux/export.h> -#include <drm/drmP.h> #include <drm/drm_hdcp.h> #include "intel_drv.h" #include <drm/i915_drm.h>
drivers/gpu/drm/i915/intel_lrc.c +0 -1
@@ -133,7 +133,6 @@*/ #include <linux/interrupt.h> -#include <drm/drmP.h> #include <drm/i915_drm.h> #include "i915_drv.h" #include "i915_gem_render_state.h"
drivers/gpu/drm/i915/intel_lvds.c +0 -1
@@ -32,7 +32,6 @@#include <linux/i2c.h> #include <linux/slab.h> #include <linux/vga_switcheroo.h> -#include <drm/drmP.h> #include <drm/drm_atomic_helper.h> #include <drm/drm_crtc.h> #include <drm/drm_edid.h>
drivers/gpu/drm/i915/intel_mocs.h +0 -1
@@ -49,7 +49,6 @@* context handling keep the MOCS in step. */ -#include <drm/drmP.h> #include "i915_drv.h" int intel_rcs_context_init_mocs (struct i915_request *rq);
drivers/gpu/drm/i915/intel_opregion.c +0 -1
@@ -30,7 +30,6 @@#include <linux/firmware.h> #include <acpi/video.h> -#include <drm/drmP.h> #include <drm/i915_drm.h> #include "intel_opregion.h"
drivers/gpu/drm/i915/intel_overlay.c +0 -1
@@ -25,7 +25,6 @@* * Derived from Xorg ddx, xf86-video-intel, src/i830_video.c */ -#include <drm/drmP.h> #include <drm/i915_drm.h> #include "i915_drv.h" #include "i915_reg.h"
drivers/gpu/drm/i915/intel_psr.c +0 -1
@@ -51,7 +51,6 @@* must be correctly synchronized/cancelled when shutting down the pipe." */ -#include <drm/drmP.h> #include "intel_drv.h" #include "i915_drv.h"
drivers/gpu/drm/i915/intel_ringbuffer.c +0 -1
@@ -29,7 +29,6 @@#include <linux/log2.h> -#include <drm/drmP.h> #include <drm/i915_drm.h> #include "i915_drv.h"
drivers/gpu/drm/i915/intel_sdvo.c +0 -1
@@ -29,7 +29,6 @@#include <linux/slab.h> #include <linux/delay.h> #include <linux/export.h> -#include <drm/drmP.h> #include <drm/drm_atomic_helper.h> #include <drm/drm_crtc.h> #include <drm/drm_edid.h>
drivers/gpu/drm/i915/intel_sprite.c +0 -1
@@ -29,7 +29,6 @@* registers; newer ones are much simpler and we can use the new DRM plane * support. */ -#include <drm/drmP.h> #include <drm/drm_atomic_helper.h> #include <drm/drm_crtc.h> #include <drm/drm_fourcc.h>
drivers/gpu/drm/i915/intel_tv.c +0 -1
@@ -30,7 +30,6 @@* Integrated TV-out support for the 915GM and 945GM. */ -#include <drm/drmP.h> #include <drm/drm_atomic_helper.h> #include <drm/drm_crtc.h> #include <drm/drm_edid.h>
drivers/gpu/drm/i915/intel_vdsc.c +0 -1
@@ -6,7 +6,6 @@* Manasi Navare <[email protected]> */ -#include <drm/drmP.h> #include <drm/i915_drm.h> #include "i915_drv.h" #include "intel_drv.h"
drivers/gpu/drm/i915/vlv_dsi.c +0 -1
@@ -23,7 +23,6 @@* Author: Jani Nikula <[email protected]> */ -#include <drm/drmP.h> #include <drm/drm_atomic_helper.h> #include <drm/drm_crtc.h> #include <drm/drm_edid.h>
Signature · 6 lines
2.11.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 7 lines · Jani Nikula
First make some drm headers self-contained, removing the implicit dependency on a previous
drmP.hinclude. Then remove alldrmP.hincludes from drm/i915.Inspired by Sam's series [1]. Theres a one line trivial conflict between that one and this series in
drm_file.h(patch 3), but I'm keeping this series self-contained. Should be easy enough to resolve.
[1] https://patchwork.freedesktop.org/series/54464/
Quoted 77 lines
I'm fine with merging the first 5 through either drm-misc or drm-intel, but I'd rather merge the last one through drm-intel.
BR,
Jani.Cc Sam Ravnborg <[email protected]>Cc Daniel Vetter <[email protected]>Cc Laurent Pinchart <[email protected]>Jani Nikula (6):
drm: includedrm_device.hfromdrm_legacy.h
drm: includekernel.handagp_backend.hfromintel-gtt.h
drm: includeidr.hfromdrm_file.h
drm: includetypes.hfromdrm_hdcp.h
drm: includedrm_file.hfromdrm_syncobj.hdrm/i915: drop alldrmP.hincludesdrivers/gpu/drm/i915/dvo.h | 1 - drivers/gpu/drm/i915/i915_drv.c | 1 - drivers/gpu/drm/i915/i915_drv.h | 2 +- drivers/gpu/drm/i915/i915_gem.c | 1 - drivers/gpu/drm/i915/i915_gem_context.c | 1 - drivers/gpu/drm/i915/i915_gem_dmabuf.c | 1 - drivers/gpu/drm/i915/i915_gem_evict.c | 1 - drivers/gpu/drm/i915/i915_gem_execbuffer.c | 1 - drivers/gpu/drm/i915/i915_gem_fence_reg.c | 1 - drivers/gpu/drm/i915/i915_gem_gtt.c | 1 - drivers/gpu/drm/i915/i915_gem_internal.c | 1 - drivers/gpu/drm/i915/i915_gem_object.h | 3 ++- drivers/gpu/drm/i915/i915_gem_shrinker.c | 1 - drivers/gpu/drm/i915/i915_gem_stolen.c | 1 - drivers/gpu/drm/i915/i915_gem_tiling.c | 1 - drivers/gpu/drm/i915/i915_gem_userptr.c | 1 - drivers/gpu/drm/i915/i915_ioc32.c | 1 - drivers/gpu/drm/i915/i915_irq.c | 1 - drivers/gpu/drm/i915/i915_suspend.c | 1 - drivers/gpu/drm/i915/i915_trace.h | 1 - drivers/gpu/drm/i915/intel_acpi.c | 1 - drivers/gpu/drm/i915/intel_atomic.c | 1 - drivers/gpu/drm/i915/intel_atomic_plane.c | 1 - drivers/gpu/drm/i915/intel_audio.c | 1 - drivers/gpu/drm/i915/intel_bios.c | 1 - drivers/gpu/drm/i915/intel_connector.c | 1 - drivers/gpu/drm/i915/intel_crt.c | 1 - drivers/gpu/drm/i915/intel_display.c | 1 - drivers/gpu/drm/i915/intel_dp.c | 1 - drivers/gpu/drm/i915/intel_dp_mst.c | 1 - drivers/gpu/drm/i915/intel_dsi.h | 1 - drivers/gpu/drm/i915/intel_dsi_vbt.c | 1 - drivers/gpu/drm/i915/intel_dvo.c | 1 - drivers/gpu/drm/i915/intel_fbdev.c | 1 - drivers/gpu/drm/i915/intel_frontbuffer.c | 1 - drivers/gpu/drm/i915/intel_hdcp.c | 1 - drivers/gpu/drm/i915/intel_hdmi.c | 1 - drivers/gpu/drm/i915/intel_hotplug.c | 1 - drivers/gpu/drm/i915/intel_i2c.c | 1 - drivers/gpu/drm/i915/intel_lrc.c | 1 - drivers/gpu/drm/i915/intel_lvds.c | 1 - drivers/gpu/drm/i915/intel_mocs.h | 1 - drivers/gpu/drm/i915/intel_opregion.c | 1 - drivers/gpu/drm/i915/intel_overlay.c | 1 - drivers/gpu/drm/i915/intel_psr.c | 1 - drivers/gpu/drm/i915/intel_ringbuffer.c | 1 - drivers/gpu/drm/i915/intel_sdvo.c | 1 - drivers/gpu/drm/i915/intel_sprite.c | 1 - drivers/gpu/drm/i915/intel_tv.c | 1 - drivers/gpu/drm/i915/intel_vdsc.c | 1 - drivers/gpu/drm/i915/vlv_dsi.c | 1 - include/drm/drm_file.h | 1 + include/drm/drm_hdcp.h | 2 ++ include/drm/drm_legacy.h | 1 + include/drm/drm_syncobj.h | 4 +++- include/drm/intel-gtt.h | 3 +++ 56 files changed, 13 insertions(+), 52 deletions(-)
Signature · 5 lines
Jani Nikula, Intel Open Source Graphics Center _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Fi.CI.BAT: success for drm/i915: drmP.h include removal w/ drm prep work
In reply to Jani Nikula== Series Details ==
== Series Details ==
Series: drm/i915: drmP.h include removal w/ drm prep work
URL : https://patchwork.freedesktop.org/series/54494/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_5343 -> Patchwork_11155
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://patchwork.freedesktop.org/api/1.0/series/54494/revisions/1/mbox/
Known issues
------------
Here are the changes found in Patchwork_11155 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@i915_selftest@live_execlists:
- fi-apl-guc: PASS -> DMESG-WARN [fdo#108622]
* {igt@runner@aborted}:
- fi-apl-guc: NOTRUN -> FAIL [fdo#108622]
#### Possible fixes ####
* igt@gem_ctx_create@basic-files:
- fi-bsw-kefka: INCOMPLETE [fdo#105876] / [fdo#108714] -> PASS
* igt@gem_exec_suspend@basic-s3:
- fi-blb-e6850: INCOMPLETE [fdo#107718] -> PASS
* igt@i915_selftest@live_contexts:
- fi-byt-j1900: DMESG-WARN -> PASS
#### Warnings ####
* igt@i915_selftest@live_contexts:
- fi-icl-u2: INCOMPLETE [fdo#108315] -> DMESG-FAIL [fdo#108569]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#105876]: https://bugs.freedesktop.org/show_bug.cgi?id=105876
[fdo#107718]: https://bugs.freedesktop.org/show_bug.cgi?id=107718
[fdo#108315]: https://bugs.freedesktop.org/show_bug.cgi?id=108315
[fdo#108569]: https://bugs.freedesktop.org/show_bug.cgi?id=108569
[fdo#108622]: https://bugs.freedesktop.org/show_bug.cgi?id=108622
[fdo#108714]: https://bugs.freedesktop.org/show_bug.cgi?id=108714
Participating hosts (46 -> 40)
------------------------------
Missing (6): fi-kbl-soraka fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-ctg-p8600
Build changes
-------------
* Linux: CI_DRM_5343 -> Patchwork_11155
CI_DRM_5343: e7a162c10f4ab5e4338927ec5bc5be726ecf3e8b @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_4754: a176905d46d072300ba57f29ac2b98a0228e0e2d @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_11155: 27ac63848159e6d74686affd71e1eeeffd474ecc @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
27ac63848159 drm/i915: drop all drmP.h includes 5764965d26be drm: include drm_file.h from drm_syncobj.h e6f5b22bc931 drm: include types.h from drm_hdcp.h 46ef7759ef27 drm: include idr.h from drm_file.h fb086404d498 drm: include kernel.h and agp_backend.h from intel-gtt.h 11d8bcdc5ec9 drm: include drm_device.h from drm_legacy.h
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_11155/
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 10 lines · Jani Nikula
First make some drm headers self-contained, removing the implicit dependency on a previous
drmP.hinclude. Then remove alldrmP.hincludes from drm/i915.Inspired by Sam's series [1]. Theres a one line trivial conflict between that one and this series in
drm_file.h(patch 3), but I'm keeping this series self-contained. Should be easy enough to resolve.I'm fine with merging the first 5 through either drm-misc or drm-intel, but I'd rather merge the last one through drm-intel.
Usually I'd say stuff it into drm-misc and then backmerge for the last patch, but -rc1 is still a few weeks away I think, so not great. Probably best if you stuff this into a topic branch in drm-intel, and then send out pull requests to both drm-misc-next and dinq.
-Daniel
Quoted 78 lines
BR,
Jani.Cc Sam Ravnborg <[email protected]>Cc Daniel Vetter <[email protected]>Cc Laurent Pinchart <[email protected]>Jani Nikula (6):
drm: includedrm_device.hfromdrm_legacy.h
drm: includekernel.handagp_backend.hfromintel-gtt.h
drm: includeidr.hfromdrm_file.h
drm: includetypes.hfromdrm_hdcp.h
drm: includedrm_file.hfromdrm_syncobj.hdrm/i915: drop alldrmP.hincludesdrivers/gpu/drm/i915/dvo.h | 1 - drivers/gpu/drm/i915/i915_drv.c | 1 - drivers/gpu/drm/i915/i915_drv.h | 2 +- drivers/gpu/drm/i915/i915_gem.c | 1 - drivers/gpu/drm/i915/i915_gem_context.c | 1 - drivers/gpu/drm/i915/i915_gem_dmabuf.c | 1 - drivers/gpu/drm/i915/i915_gem_evict.c | 1 - drivers/gpu/drm/i915/i915_gem_execbuffer.c | 1 - drivers/gpu/drm/i915/i915_gem_fence_reg.c | 1 - drivers/gpu/drm/i915/i915_gem_gtt.c | 1 - drivers/gpu/drm/i915/i915_gem_internal.c | 1 - drivers/gpu/drm/i915/i915_gem_object.h | 3 ++- drivers/gpu/drm/i915/i915_gem_shrinker.c | 1 - drivers/gpu/drm/i915/i915_gem_stolen.c | 1 - drivers/gpu/drm/i915/i915_gem_tiling.c | 1 - drivers/gpu/drm/i915/i915_gem_userptr.c | 1 - drivers/gpu/drm/i915/i915_ioc32.c | 1 - drivers/gpu/drm/i915/i915_irq.c | 1 - drivers/gpu/drm/i915/i915_suspend.c | 1 - drivers/gpu/drm/i915/i915_trace.h | 1 - drivers/gpu/drm/i915/intel_acpi.c | 1 - drivers/gpu/drm/i915/intel_atomic.c | 1 - drivers/gpu/drm/i915/intel_atomic_plane.c | 1 - drivers/gpu/drm/i915/intel_audio.c | 1 - drivers/gpu/drm/i915/intel_bios.c | 1 - drivers/gpu/drm/i915/intel_connector.c | 1 - drivers/gpu/drm/i915/intel_crt.c | 1 - drivers/gpu/drm/i915/intel_display.c | 1 - drivers/gpu/drm/i915/intel_dp.c | 1 - drivers/gpu/drm/i915/intel_dp_mst.c | 1 - drivers/gpu/drm/i915/intel_dsi.h | 1 - drivers/gpu/drm/i915/intel_dsi_vbt.c | 1 - drivers/gpu/drm/i915/intel_dvo.c | 1 - drivers/gpu/drm/i915/intel_fbdev.c | 1 - drivers/gpu/drm/i915/intel_frontbuffer.c | 1 - drivers/gpu/drm/i915/intel_hdcp.c | 1 - drivers/gpu/drm/i915/intel_hdmi.c | 1 - drivers/gpu/drm/i915/intel_hotplug.c | 1 - drivers/gpu/drm/i915/intel_i2c.c | 1 - drivers/gpu/drm/i915/intel_lrc.c | 1 - drivers/gpu/drm/i915/intel_lvds.c | 1 - drivers/gpu/drm/i915/intel_mocs.h | 1 - drivers/gpu/drm/i915/intel_opregion.c | 1 - drivers/gpu/drm/i915/intel_overlay.c | 1 - drivers/gpu/drm/i915/intel_psr.c | 1 - drivers/gpu/drm/i915/intel_ringbuffer.c | 1 - drivers/gpu/drm/i915/intel_sdvo.c | 1 - drivers/gpu/drm/i915/intel_sprite.c | 1 - drivers/gpu/drm/i915/intel_tv.c | 1 - drivers/gpu/drm/i915/intel_vdsc.c | 1 - drivers/gpu/drm/i915/vlv_dsi.c | 1 - include/drm/drm_file.h | 1 + include/drm/drm_hdcp.h | 2 ++ include/drm/drm_legacy.h | 1 + include/drm/drm_syncobj.h | 4 +++- include/drm/intel-gtt.h | 3 +++ 56 files changed, 13 insertions(+), 52 deletions(-)Signature · 1 line
2.11.0
Signature · 7 lines
Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH 1/6] drm: include drm_device.h from drm_legacy.h
In reply to Jani NikulaQuoted 15 lines · Jani Nikula
Make it easier to drop
drmP.hincludes.Cc Sam Ravnborg <[email protected]>Cc Daniel Vetter <[email protected]>Cc Laurent Pinchart <[email protected]>Signed-off-by Jani Nikula <[email protected]>--- include/drm/drm_legacy.h | 1 + 1 file changed, 1 insertion(+)include/drm/drm_legacy.h +0
-0
include/drm/drm_legacy.h line 5
Quoted 4 lines
include/drm/drm_legacy.h +1
-0@@ -2,6 +2,7 @@#define __DRM_DRM_LEGACY_H__#include <drm/drm_auth.h> +#include <drm/drm_device.h>
From a quick look, shouldn't a
struct drm_device;
forward decl be enough? You might need a pile more forward decl, but that's all drm_device.h seems to pull in that drm_legacy.h needs. -Daniel
Quoted 6 lines
include/drm/drm_legacy.h +0
-0/* * Legacy driver interfaces for the Direct Rendering Manager Signature · 1 line
2.11.0
Signature · 7 lines
Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH 2/6] drm: include kernel.h and agp_backend.h from intel-gtt.h
In reply to Jani NikulaQuoted 6 lines · Jani Nikula
Make it easier to drop
drmP.hincludes.Cc Sam Ravnborg <[email protected]>Cc Daniel Vetter <[email protected]>Cc Laurent Pinchart <[email protected]>Signed-off-by Jani Nikula <[email protected]>
Makes sense.
Quoted 21 lines
--- include/drm/intel-gtt.h | 3 +++ 1 file changed, 3 insertions(+)include/drm/intel-gtt.h +3
-0@@ -4,6 +4,9 @@#ifndef _DRM_INTEL_GTT_H#define _DRM_INTEL_GTT_H +#include <linux/agp_backend.h> +#include <linux/kernel.h> +void intel_gtt_get (u64 *gtt_total,phys_addr_t *mappable_base,resource_size_t *mappable_end);Signature · 1 line
2.11.0
Signature · 7 lines
Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH 3/6] drm: include idr.h from drm_file.h
In reply to Jani NikulaQuoted 15 lines · Jani Nikula
Make it easier to drop
drmP.hincludes.Cc Sam Ravnborg <[email protected]>Cc Daniel Vetter <[email protected]>Cc Laurent Pinchart <[email protected]>Signed-off-by Jani Nikula <[email protected]>--- include/drm/drm_file.h | 1 + 1 file changed, 1 insertion(+)include/drm/drm_file.h +0
-0
include/drm/drm_file.h line 35
Quoted 4 lines
include/drm/drm_file.h +1
-0@@ -32,6 +32,7 @@#include <linux/types.h> #include <linux/completion.h> +#include <linux/idr.h>
Yup, we embed the struct idr.
Quoted 6 lines
include/drm/drm_file.h +0
-0#include <uapi/drm/drm.h> Signature · 1 line
2.11.0
Signature · 7 lines
Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH 4/6] drm: include types.h from drm_hdcp.h
In reply to Jani NikulaQuoted 6 lines · Jani Nikula
Make it easier to drop
drmP.hincludes.Cc Sam Ravnborg <[email protected]>Cc Daniel Vetter <[email protected]>Cc Laurent Pinchart <[email protected]>Signed-off-by Jani Nikula <[email protected]>
Quoted 20 lines
--- include/drm/drm_hdcp.h | 2 ++ 1 file changed, 2 insertions(+)include/drm/drm_hdcp.h +2
-0@@ -9,6 +9,8 @@#ifndef _DRM_HDCP_H_INCLUDED_#define _DRM_HDCP_H_INCLUDED_ +#include <linux/types.h> +/* Period of hdcp checks (to ensure we're still authenticated) */ #define DRM_HDCP_CHECK_PERIOD_MS (128 * 16)Signature · 1 line
2.11.0
Signature · 7 lines
Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH 5/6] drm: include drm_file.h from drm_syncobj.h
In reply to Jani NikulaQuoted 16 lines · Jani Nikula
Make it easier to drop
drmP.hincludes. Switch from "" to <> includes while at it.Cc Sam Ravnborg <[email protected]>Cc Daniel Vetter <[email protected]>Cc Laurent Pinchart <[email protected]>Signed-off-by Jani Nikula <[email protected]>--- include/drm/drm_syncobj.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)include/drm/drm_syncobj.h +0
-0
include/drm/drm_syncobj.h line 31
Quoted 7 lines
include/drm/drm_syncobj.h +3
-1@@ -26,7 +26,9 @@#ifndef __DRM_SYNCOBJ_H__#define __DRM_SYNCOBJ_H__ -#include "linux/dma-fence.h" +#include <linux/dma-fence.h> + +#include <drm/drm_file.h>
I think you need only a
struct drm_file;
pre-decl instead of the full include. With that:
Quoted 6 lines
include/drm/drm_syncobj.h +0
-0/** * struct drm_syncobj - sync object. Signature · 1 line
2.11.0
Signature · 7 lines
Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Daniel Vetter
Reviewed-byRe: [PATCH 1/6] drm: include drm_device.h from drm_legacy.h
In reply to Daniel VetterQuoted 23 lines · Daniel Vetter
Quoted 15 lines · Jani Nikula
Make it easier to drop
drmP.hincludes.Cc Sam Ravnborg <[email protected]>Cc Daniel Vetter <[email protected]>Cc Laurent Pinchart <[email protected]>Signed-off-by Jani Nikula <[email protected]>--- include/drm/drm_legacy.h | 1 + 1 file changed, 1 insertion(+)include/drm/drm_legacy.h +0
-0include/drm/drm_legacy.h line 5
Quoted 4 lines
include/drm/drm_legacy.h +1
-0@@ -2,6 +2,7 @@#define __DRM_DRM_LEGACY_H__#include <drm/drm_auth.h> +#include <drm/drm_device.h> From a quick look, shouldn't a
Quoted 4 lines
struct
drm_device;forward decl be enough? You might need a pile more forward decl, but that's all
drm_device.hseems to pull in thatdrm_legacy.hneeds.
(assuming it all works out).
-Daniel
Quoted 12 lines
-Daniel
Quoted 6 lines
include/drm/drm_legacy.h +0
-0/* * Legacy driver interfaces for the Direct Rendering Manager Signature · 1 line
2.11.0Signature · 3 lines
Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch
Signature · 7 lines
Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH 6/6] drm/i915: drop all drmP.h includes
In reply to Jani NikulaQuoted 6 lines · Jani Nikula
Needs just a few additional includes here and there.
Cc Sam Ravnborg <[email protected]>Cc Daniel Vetter <[email protected]>Cc Laurent Pinchart <[email protected]>Signed-off-by Jani Nikula <[email protected]>
lgtm, but didn't try to second-guess gcc :-)
I guess next up would be to split up i915_drv.h and intel_drv.h and see how much our driver is a spaghetti mess where everything needs everything else :-)
Cheers, Daniel
Quoted 679 lines
--- drivers/gpu/drm/i915/dvo.h | 1 - drivers/gpu/drm/i915/i915_drv.c | 1 - drivers/gpu/drm/i915/i915_drv.h | 2 +- drivers/gpu/drm/i915/i915_gem.c | 1 - drivers/gpu/drm/i915/i915_gem_context.c | 1 - drivers/gpu/drm/i915/i915_gem_dmabuf.c | 1 - drivers/gpu/drm/i915/i915_gem_evict.c | 1 - drivers/gpu/drm/i915/i915_gem_execbuffer.c | 1 - drivers/gpu/drm/i915/i915_gem_fence_reg.c | 1 - drivers/gpu/drm/i915/i915_gem_gtt.c | 1 - drivers/gpu/drm/i915/i915_gem_internal.c | 1 - drivers/gpu/drm/i915/i915_gem_object.h | 3 ++- drivers/gpu/drm/i915/i915_gem_shrinker.c | 1 - drivers/gpu/drm/i915/i915_gem_stolen.c | 1 - drivers/gpu/drm/i915/i915_gem_tiling.c | 1 - drivers/gpu/drm/i915/i915_gem_userptr.c | 1 - drivers/gpu/drm/i915/i915_ioc32.c | 1 - drivers/gpu/drm/i915/i915_irq.c | 1 - drivers/gpu/drm/i915/i915_suspend.c | 1 - drivers/gpu/drm/i915/i915_trace.h | 1 - drivers/gpu/drm/i915/intel_acpi.c | 1 - drivers/gpu/drm/i915/intel_atomic.c | 1 - drivers/gpu/drm/i915/intel_atomic_plane.c | 1 - drivers/gpu/drm/i915/intel_audio.c | 1 - drivers/gpu/drm/i915/intel_bios.c | 1 - drivers/gpu/drm/i915/intel_connector.c | 1 - drivers/gpu/drm/i915/intel_crt.c | 1 - drivers/gpu/drm/i915/intel_display.c | 1 - drivers/gpu/drm/i915/intel_dp.c | 1 - drivers/gpu/drm/i915/intel_dp_mst.c | 1 - drivers/gpu/drm/i915/intel_dsi.h | 1 - drivers/gpu/drm/i915/intel_dsi_vbt.c | 1 - drivers/gpu/drm/i915/intel_dvo.c | 1 - drivers/gpu/drm/i915/intel_fbdev.c | 1 - drivers/gpu/drm/i915/intel_frontbuffer.c | 1 - drivers/gpu/drm/i915/intel_hdcp.c | 1 - drivers/gpu/drm/i915/intel_hdmi.c | 1 - drivers/gpu/drm/i915/intel_hotplug.c | 1 - drivers/gpu/drm/i915/intel_i2c.c | 1 - drivers/gpu/drm/i915/intel_lrc.c | 1 - drivers/gpu/drm/i915/intel_lvds.c | 1 - drivers/gpu/drm/i915/intel_mocs.h | 1 - drivers/gpu/drm/i915/intel_opregion.c | 1 - drivers/gpu/drm/i915/intel_overlay.c | 1 - drivers/gpu/drm/i915/intel_psr.c | 1 - drivers/gpu/drm/i915/intel_ringbuffer.c | 1 - drivers/gpu/drm/i915/intel_sdvo.c | 1 - drivers/gpu/drm/i915/intel_sprite.c | 1 - drivers/gpu/drm/i915/intel_tv.c | 1 - drivers/gpu/drm/i915/intel_vdsc.c | 1 - drivers/gpu/drm/i915/vlv_dsi.c | 1 - 51 files changed, 3 insertions(+), 51 deletions(-)drivers/gpu/drm/i915/dvo.h +0
-1@@ -24,7 +24,6 @@#define _INTEL_DVO_H#include <linux/i2c.h> -#include <drm/drmP.h> #include <drm/drm_crtc.h> #include "intel_drv.h" drivers/gpu/drm/i915/i915_drv.c +0
-1@@ -41,7 +41,6 @@#include <linux/vt.h> #include <acpi/video.h> -#include <drm/drmP.h> #include <drm/drm_crtc_helper.h> #include <drm/drm_atomic_helper.h> #include <drm/i915_drm.h> drivers/gpu/drm/i915/i915_drv.h +1
-1@@ -46,7 +46,6 @@#include <linux/reservation.h> #include <linux/shmem_fs.h> -#include <drm/drmP.h> #include <drm/intel-gtt.h> #include <drm/drm_legacy.h> /* for struct drm_dma_handle */ #include <drm/drm_gem.h> @@ -54,6 +53,7 @@#include <drm/drm_cache.h> #include <drm/drm_util.h> #include <drm/drm_dsc.h> +#include <drm/drm_connector.h> #include "i915_fixed.h" #include "i915_params.h" drivers/gpu/drm/i915/i915_gem.c +0
-1@@ -25,7 +25,6 @@* */ -#include <drm/drmP.h> #include <drm/drm_vma_manager.h> #include <drm/i915_drm.h> #include "i915_drv.h" drivers/gpu/drm/i915/i915_gem_context.c +0
-1@@ -86,7 +86,6 @@*/ #include <linux/log2.h> -#include <drm/drmP.h> #include <drm/i915_drm.h> #include "i915_drv.h" #include "i915_trace.h" drivers/gpu/drm/i915/i915_gem_dmabuf.c +0
-1@@ -27,7 +27,6 @@#include <linux/dma-buf.h> #include <linux/reservation.h> -#include <drm/drmP.h> #include "i915_drv.h" drivers/gpu/drm/i915/i915_gem_evict.c +0
-1@@ -26,7 +26,6 @@* */ -#include <drm/drmP.h> #include <drm/i915_drm.h> #include "i915_drv.h" drivers/gpu/drm/i915/i915_gem_execbuffer.c +0
-1@@ -31,7 +31,6 @@#include <linux/sync_file.h> #include <linux/uaccess.h> -#include <drm/drmP.h> #include <drm/drm_syncobj.h> #include <drm/i915_drm.h> drivers/gpu/drm/i915/i915_gem_fence_reg.c +0
-1@@ -21,7 +21,6 @@* IN THE SOFTWARE. */ -#include <drm/drmP.h> #include <drm/i915_drm.h> #include "i915_drv.h" drivers/gpu/drm/i915/i915_gem_gtt.c +0
-1@@ -33,7 +33,6 @@#include <asm/set_memory.h> -#include <drm/drmP.h> #include <drm/i915_drm.h> #include "i915_drv.h" drivers/gpu/drm/i915/i915_gem_internal.c +0
-1@@ -22,7 +22,6 @@* */ -#include <drm/drmP.h> #include <drm/i915_drm.h> #include "i915_drv.h" drivers/gpu/drm/i915/i915_gem_object.h +2
-1@@ -29,7 +29,8 @@#include <drm/drm_vma_manager.h> #include <drm/drm_gem.h> -#include <drm/drmP.h> +#include <drm/drm_file.h> +#include <drm/drm_device.h> #include <drm/i915_drm.h> drivers/gpu/drm/i915/i915_gem_shrinker.c +0
-1@@ -30,7 +30,6 @@#include <linux/pci.h> #include <linux/dma-buf.h> #include <linux/vmalloc.h> -#include <drm/drmP.h> #include <drm/i915_drm.h> #include "i915_drv.h" drivers/gpu/drm/i915/i915_gem_stolen.c +0
-1@@ -26,7 +26,6 @@* */ -#include <drm/drmP.h> #include <drm/i915_drm.h> #include "i915_drv.h" drivers/gpu/drm/i915/i915_gem_tiling.c +0
-1@@ -27,7 +27,6 @@#include <linux/string.h> #include <linux/bitops.h> -#include <drm/drmP.h> #include <drm/i915_drm.h> #include "i915_drv.h" drivers/gpu/drm/i915/i915_gem_userptr.c +0
-1@@ -22,7 +22,6 @@* */ -#include <drm/drmP.h> #include <drm/i915_drm.h> #include "i915_drv.h" #include "i915_trace.h" drivers/gpu/drm/i915/i915_ioc32.c +0
-1@@ -28,7 +28,6 @@*/ #include <linux/compat.h> -#include <drm/drmP.h> #include <drm/i915_drm.h> #include "i915_drv.h" drivers/gpu/drm/i915/i915_irq.c +0
-1@@ -31,7 +31,6 @@#include <linux/sysrq.h> #include <linux/slab.h> #include <linux/circ_buf.h> -#include <drm/drmP.h> #include <drm/i915_drm.h> #include "i915_drv.h" #include "i915_trace.h" drivers/gpu/drm/i915/i915_suspend.c +0
-1@@ -24,7 +24,6 @@* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -#include <drm/drmP.h> #include <drm/i915_drm.h> #include "intel_drv.h" #include "i915_reg.h" drivers/gpu/drm/i915/i915_trace.h +0
-1@@ -6,7 +6,6 @@#include <linux/types.h> #include <linux/tracepoint.h> -#include <drm/drmP.h> #include "i915_drv.h" #include "intel_drv.h" #include "intel_ringbuffer.h" drivers/gpu/drm/i915/intel_acpi.c +0
-1@@ -6,7 +6,6 @@*/ #include <linux/pci.h> #include <linux/acpi.h> -#include <drm/drmP.h> #include "i915_drv.h" #define INTEL_DSM_REVISION_ID 1/* For Calpella anyway... */ drivers/gpu/drm/i915/intel_atomic.c +0
-1@@ -29,7 +29,6 @@* See intel_atomic_plane.c for the plane-specific atomic functionality. */ -#include <drm/drmP.h> #include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> #include <drm/drm_plane_helper.h> drivers/gpu/drm/i915/intel_atomic_plane.c +0
-1@@ -31,7 +31,6 @@* prepare/check/commit/cleanup steps. */ -#include <drm/drmP.h> #include <drm/drm_atomic_helper.h> #include <drm/drm_plane_helper.h> #include "intel_drv.h" drivers/gpu/drm/i915/intel_audio.c +0
-1@@ -27,7 +27,6 @@#include <drm/intel_lpe_audio.h> #include "intel_drv.h" -#include <drm/drmP.h> #include <drm/drm_edid.h> #include "i915_drv.h" drivers/gpu/drm/i915/intel_bios.c +0
-1@@ -26,7 +26,6 @@*/ #include <drm/drm_dp_helper.h> -#include <drm/drmP.h> #include <drm/i915_drm.h> #include "i915_drv.h" drivers/gpu/drm/i915/intel_connector.c +0
-1@@ -27,7 +27,6 @@#include <linux/i2c.h> #include <drm/drm_atomic_helper.h> #include <drm/drm_edid.h> -#include <drm/drmP.h> #include "intel_drv.h" #include "i915_drv.h" drivers/gpu/drm/i915/intel_crt.c +0
-1@@ -27,7 +27,6 @@#include <linux/dmi.h> #include <linux/i2c.h> #include <linux/slab.h> -#include <drm/drmP.h> #include <drm/drm_atomic_helper.h> #include <drm/drm_crtc.h> #include <drm/drm_crtc_helper.h> drivers/gpu/drm/i915/intel_display.c +0
-1@@ -31,7 +31,6 @@#include <linux/slab.h> #include <linux/vgaarb.h> #include <drm/drm_edid.h> -#include <drm/drmP.h> #include "intel_drv.h" #include "intel_frontbuffer.h" #include <drm/i915_drm.h> drivers/gpu/drm/i915/intel_dp.c +0
-1@@ -32,7 +32,6 @@#include <linux/notifier.h> #include <linux/reboot.h> #include <asm/byteorder.h> -#include <drm/drmP.h> #include <drm/drm_atomic_helper.h> #include <drm/drm_crtc.h> #include <drm/drm_crtc_helper.h> drivers/gpu/drm/i915/intel_dp_mst.c +0
-1@@ -23,7 +23,6 @@* */ -#include <drm/drmP.h> #include "i915_drv.h" #include "intel_drv.h" #include <drm/drm_atomic_helper.h> drivers/gpu/drm/i915/intel_dsi.h +0
-1@@ -24,7 +24,6 @@#ifndef _INTEL_DSI_H#define _INTEL_DSI_H -#include <drm/drmP.h> #include <drm/drm_crtc.h> #include <drm/drm_mipi_dsi.h> #include "intel_drv.h" drivers/gpu/drm/i915/intel_dsi_vbt.c +0
-1@@ -24,7 +24,6 @@* */ -#include <drm/drmP.h> #include <drm/drm_crtc.h> #include <drm/drm_edid.h> #include <drm/i915_drm.h> drivers/gpu/drm/i915/intel_dvo.c +0
-1@@ -26,7 +26,6 @@*/ #include <linux/i2c.h> #include <linux/slab.h> -#include <drm/drmP.h> #include <drm/drm_atomic_helper.h> #include <drm/drm_crtc.h> #include "intel_drv.h" drivers/gpu/drm/i915/intel_fbdev.c +0
-1@@ -37,7 +37,6 @@#include <linux/init.h> #include <linux/vga_switcheroo.h> -#include <drm/drmP.h> #include <drm/drm_crtc.h> #include <drm/drm_fb_helper.h> #include "intel_drv.h" drivers/gpu/drm/i915/intel_frontbuffer.c +0
-1@@ -60,7 +60,6 @@* functions is deprecated and should be avoided. */ -#include <drm/drmP.h> #include "intel_drv.h" #include "intel_frontbuffer.h" drivers/gpu/drm/i915/intel_hdcp.c +0
-1@@ -6,7 +6,6 @@* Sean Paul <[email protected]> */ -#include <drm/drmP.h> #include <drm/drm_hdcp.h> #include <linux/i2c.h> #include <linux/random.h> drivers/gpu/drm/i915/intel_hdmi.c +0
-1@@ -30,7 +30,6 @@#include <linux/slab.h> #include <linux/delay.h> #include <linux/hdmi.h> -#include <drm/drmP.h> #include <drm/drm_atomic_helper.h> #include <drm/drm_crtc.h> #include <drm/drm_edid.h> drivers/gpu/drm/i915/intel_hotplug.c +0
-1@@ -23,7 +23,6 @@#include <linux/kernel.h> -#include <drm/drmP.h> #include <drm/i915_drm.h> #include "i915_drv.h" drivers/gpu/drm/i915/intel_i2c.c +0
-1@@ -29,7 +29,6 @@#include <linux/i2c.h> #include <linux/i2c-algo-bit.h> #include <linux/export.h> -#include <drm/drmP.h> #include <drm/drm_hdcp.h> #include "intel_drv.h" #include <drm/i915_drm.h> drivers/gpu/drm/i915/intel_lrc.c +0
-1@@ -133,7 +133,6 @@*/ #include <linux/interrupt.h> -#include <drm/drmP.h> #include <drm/i915_drm.h> #include "i915_drv.h" #include "i915_gem_render_state.h" drivers/gpu/drm/i915/intel_lvds.c +0
-1@@ -32,7 +32,6 @@#include <linux/i2c.h> #include <linux/slab.h> #include <linux/vga_switcheroo.h> -#include <drm/drmP.h> #include <drm/drm_atomic_helper.h> #include <drm/drm_crtc.h> #include <drm/drm_edid.h> drivers/gpu/drm/i915/intel_mocs.h +0
-1@@ -49,7 +49,6 @@* context handling keep the MOCS in step. */ -#include <drm/drmP.h> #include "i915_drv.h" int intel_rcs_context_init_mocs (struct i915_request *rq);drivers/gpu/drm/i915/intel_opregion.c +0
-1@@ -30,7 +30,6 @@#include <linux/firmware.h> #include <acpi/video.h> -#include <drm/drmP.h> #include <drm/i915_drm.h> #include "intel_opregion.h" drivers/gpu/drm/i915/intel_overlay.c +0
-1@@ -25,7 +25,6 @@* * Derived from Xorg ddx, xf86-video-intel, src/i830_video.c */ -#include <drm/drmP.h> #include <drm/i915_drm.h> #include "i915_drv.h" #include "i915_reg.h" drivers/gpu/drm/i915/intel_psr.c +0
-1@@ -51,7 +51,6 @@* must be correctly synchronized/cancelled when shutting down the pipe." */ -#include <drm/drmP.h> #include "intel_drv.h" #include "i915_drv.h" drivers/gpu/drm/i915/intel_ringbuffer.c +0
-1@@ -29,7 +29,6 @@#include <linux/log2.h> -#include <drm/drmP.h> #include <drm/i915_drm.h> #include "i915_drv.h" drivers/gpu/drm/i915/intel_sdvo.c +0
-1@@ -29,7 +29,6 @@#include <linux/slab.h> #include <linux/delay.h> #include <linux/export.h> -#include <drm/drmP.h> #include <drm/drm_atomic_helper.h> #include <drm/drm_crtc.h> #include <drm/drm_edid.h> drivers/gpu/drm/i915/intel_sprite.c +0
-1@@ -29,7 +29,6 @@* registers; newer ones are much simpler and we can use the new DRM plane * support. */ -#include <drm/drmP.h> #include <drm/drm_atomic_helper.h> #include <drm/drm_crtc.h> #include <drm/drm_fourcc.h> drivers/gpu/drm/i915/intel_tv.c +0
-1@@ -30,7 +30,6 @@* Integrated TV-out support for the 915GM and 945GM. */ -#include <drm/drmP.h> #include <drm/drm_atomic_helper.h> #include <drm/drm_crtc.h> #include <drm/drm_edid.h> drivers/gpu/drm/i915/intel_vdsc.c +0
-1@@ -6,7 +6,6 @@* Manasi Navare <[email protected]> */ -#include <drm/drmP.h> #include <drm/i915_drm.h> #include "i915_drv.h" #include "intel_drv.h" drivers/gpu/drm/i915/vlv_dsi.c +0
-1@@ -23,7 +23,6 @@* Author: Jani Nikula <[email protected]> */ -#include <drm/drmP.h> #include <drm/drm_atomic_helper.h> #include <drm/drm_crtc.h> #include <drm/drm_edid.h> Signature · 1 line
2.11.0
Signature · 7 lines
Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH 6/6] drm/i915: drop all drmP.h includes
Quoted 3 lines · Daniel Vetter
I guess next up would be to split up
i915_drv.handintel_drv.hand see how much our driver is a spaghetti mess where everything needs everything else :-)
In general this got me wondering how self-contained the header files really need to be. Turns out even <linux/kernel.h> isn't self-contained, it fails on do_div() for my config if <asm/div64.h> isn't included some other route. Didn't dig deep, but by the looks of it this is not a new breakage (if you can call it that).
BR,
Jani.
Signature · 5 lines
Jani Nikula, Intel Open Source Graphics Center _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Fi.CI.IGT: success for drm/i915: drmP.h include removal w/ drm prep work
In reply to Jani Nikula== Series Details ==
== Series Details ==
Series: drm/i915: drmP.h include removal w/ drm prep work
URL : https://patchwork.freedesktop.org/series/54494/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_5343_full -> Patchwork_11155_full
====================================================
Summary
-------
**WARNING**
Minor unknown changes coming with Patchwork_11155_full need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in Patchwork_11155_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_11155_full:
### IGT changes ###
#### Warnings ####
* igt@pm_rc6_residency@rc6-accuracy:
- shard-snb: SKIP -> PASS
Known issues
------------
Here are the changes found in Patchwork_11155_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_schedule@pi-ringfull-render:
- shard-skl: NOTRUN -> FAIL [fdo#103158]
* igt@i915_selftest@live_workarounds:
- shard-iclb: PASS -> DMESG-FAIL [fdo#108954]
* igt@i915_suspend@shrink:
- shard-skl: NOTRUN -> INCOMPLETE [fdo#106886]
* igt@kms_busy@extended-modeset-hang-newfb-render-b:
- shard-skl: NOTRUN -> DMESG-WARN [fdo#107956] +1
* igt@kms_busy@extended-pageflip-modeset-hang-oldfb-render-b:
- shard-iclb: NOTRUN -> DMESG-WARN [fdo#107956] +1
* igt@kms_busy@extended-pageflip-modeset-hang-oldfb-render-c:
- shard-skl: PASS -> DMESG-WARN [fdo#107956] +1
* igt@kms_chv_cursor_fail@pipe-c-128x128-bottom-edge:
- shard-skl: PASS -> FAIL [fdo#104671]
* igt@kms_color@pipe-a-ctm-green-to-red:
- shard-skl: PASS -> FAIL [fdo#107201]
* igt@kms_color@pipe-b-degamma:
- shard-skl: PASS -> FAIL [fdo#104782]
* igt@kms_cursor_crc@cursor-128x128-offscreen:
- shard-skl: PASS -> FAIL [fdo#103232] +1
* igt@kms_cursor_crc@cursor-128x128-random:
- shard-apl: PASS -> FAIL [fdo#103232] +1
* igt@kms_cursor_crc@cursor-128x128-suspend:
- shard-apl: PASS -> DMESG-WARN [fdo#108566]
* igt@kms_cursor_crc@cursor-256x256-random:
- shard-iclb: NOTRUN -> FAIL [fdo#103232] +2
* igt@kms_cursor_crc@cursor-64x64-suspend:
- shard-apl: PASS -> FAIL [fdo#103191] / [fdo#103232]
* igt@kms_flip@busy-flip:
- shard-glk: PASS -> FAIL [fdo#103257]
* igt@kms_flip@flip-vs-expired-vblank:
- shard-apl: PASS -> FAIL [fdo#102887] / [fdo#105363]
* igt@kms_flip@flip-vs-expired-vblank-interruptible:
- shard-glk: PASS -> FAIL [fdo#105363]
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-mmap-gtt:
- shard-apl: PASS -> FAIL [fdo#103167] +1
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-pwrite:
- shard-skl: NOTRUN -> FAIL [fdo#103167]
* igt@kms_frontbuffer_tracking@psr-1p-primscrn-spr-indfb-move:
- shard-iclb: PASS -> FAIL [fdo#103167] +1
* igt@kms_frontbuffer_tracking@psr-suspend:
- shard-skl: PASS -> INCOMPLETE [fdo#104108] / [fdo#106978] / [fdo#107773]
* igt@kms_pipe_crc_basic@nonblocking-crc-pipe-c-frame-sequence:
- shard-skl: PASS -> FAIL [fdo#103191] / [fdo#107362]
* igt@kms_plane@pixel-format-pipe-b-planes:
- shard-iclb: NOTRUN -> FAIL [fdo#103166]
* igt@kms_plane@pixel-format-pipe-c-planes-source-clamping:
- shard-skl: NOTRUN -> DMESG-WARN [fdo#106885] +1
* igt@kms_plane_alpha_blend@pipe-a-alpha-7efc:
- shard-skl: NOTRUN -> FAIL [fdo#107815] / [fdo#108145]
* igt@kms_plane_alpha_blend@pipe-a-alpha-opaque-fb:
- shard-skl: NOTRUN -> FAIL [fdo#108145] +1
* igt@kms_plane_alpha_blend@pipe-a-alpha-transparant-fb:
- shard-kbl: NOTRUN -> FAIL [fdo#108145]
* igt@kms_plane_alpha_blend@pipe-a-constant-alpha-max:
- shard-glk: PASS -> FAIL [fdo#108145]
* igt@kms_plane_alpha_blend@pipe-b-coverage-7efc:
- shard-skl: PASS -> FAIL [fdo#107815]
* igt@kms_plane_multiple@atomic-pipe-b-tiling-y:
- shard-glk: PASS -> FAIL [fdo#103166] +1
- shard-apl: PASS -> FAIL [fdo#103166] +1
* igt@kms_plane_scaling@pipe-c-scaler-with-rotation:
- shard-iclb: NOTRUN -> DMESG-WARN [fdo#107724]
* igt@kms_setmode@basic:
- shard-kbl: PASS -> FAIL [fdo#99912]
#### Possible fixes ####
* igt@gem_ctx_isolation@vcs1-s3:
- shard-kbl: INCOMPLETE [fdo#103665] -> PASS +1
* igt@kms_flip@basic-flip-vs-wf_vblank:
- shard-iclb: DMESG-WARN [fdo#107724] -> PASS +5
* igt@kms_flip@flip-vs-expired-vblank:
- shard-skl: FAIL [fdo#105363] -> PASS
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-move:
- shard-iclb: FAIL [fdo#103167] -> PASS +6
- shard-apl: FAIL [fdo#103167] -> PASS
* igt@kms_frontbuffer_tracking@fbc-2p-primscrn-spr-indfb-fullscreen:
- shard-glk: FAIL [fdo#103167] -> PASS
* igt@kms_frontbuffer_tracking@fbc-indfb-scaledprimary:
- shard-iclb: DMESG-FAIL [fdo#107724] -> PASS +1
* igt@kms_frontbuffer_tracking@fbcpsr-suspend:
- shard-skl: INCOMPLETE [fdo#104108] / [fdo#106978] -> PASS
* igt@kms_pipe_crc_basic@suspend-read-crc-pipe-c:
- shard-skl: INCOMPLETE [fdo#104108] / [fdo#107773] -> PASS
* igt@kms_plane@plane-panning-bottom-right-suspend-pipe-b-planes:
- shard-iclb: DMESG-FAIL [fdo#103166] / [fdo#107724] -> PASS
* igt@kms_plane@plane-position-covered-pipe-b-planes:
- shard-glk: FAIL [fdo#103166] -> PASS
* igt@kms_plane_lowres@pipe-b-tiling-y:
- shard-iclb: DMESG-WARN [fdo#107724] / [fdo#108336] -> PASS +2
* igt@kms_plane_multiple@atomic-pipe-c-tiling-y:
- shard-apl: FAIL [fdo#103166] -> PASS
* igt@kms_rotation_crc@multiplane-rotation-cropping-top:
- shard-kbl: DMESG-WARN [fdo#105604] -> PASS
* igt@kms_setmode@basic:
- shard-apl: FAIL [fdo#99912] -> PASS
* igt@pm_rpm@modeset-lpsp-stress:
- shard-iclb: DMESG-WARN [fdo#108654] -> PASS
* igt@pm_rpm@universal-planes:
- shard-iclb: INCOMPLETE [fdo#108840] -> PASS
[fdo#102887]: https://bugs.freedesktop.org/show_bug.cgi?id=102887
[fdo#103158]: https://bugs.freedesktop.org/show_bug.cgi?id=103158
[fdo#103166]: https://bugs.freedesktop.org/show_bug.cgi?id=103166
[fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
[fdo#103191]: https://bugs.freedesktop.org/show_bug.cgi?id=103191
[fdo#103232]: https://bugs.freedesktop.org/show_bug.cgi?id=103232
[fdo#103257]: https://bugs.freedesktop.org/show_bug.cgi?id=103257
[fdo#103665]: https://bugs.freedesktop.org/show_bug.cgi?id=103665
[fdo#104108]: https://bugs.freedesktop.org/show_bug.cgi?id=104108
[fdo#104671]: https://bugs.freedesktop.org/show_bug.cgi?id=104671
[fdo#104782]: https://bugs.freedesktop.org/show_bug.cgi?id=104782
[fdo#105363]: https://bugs.freedesktop.org/show_bug.cgi?id=105363
[fdo#105604]: https://bugs.freedesktop.org/show_bug.cgi?id=105604
[fdo#106885]: https://bugs.freedesktop.org/show_bug.cgi?id=106885
[fdo#106886]: https://bugs.freedesktop.org/show_bug.cgi?id=106886
[fdo#106978]: https://bugs.freedesktop.org/show_bug.cgi?id=106978
[fdo#107201]: https://bugs.freedesktop.org/show_bug.cgi?id=107201
[fdo#107362]: https://bugs.freedesktop.org/show_bug.cgi?id=107362
[fdo#107724]: https://bugs.freedesktop.org/show_bug.cgi?id=107724
[fdo#107773]: https://bugs.freedesktop.org/show_bug.cgi?id=107773
[fdo#107815]: https://bugs.freedesktop.org/show_bug.cgi?id=107815
[fdo#107956]: https://bugs.freedesktop.org/show_bug.cgi?id=107956
[fdo#108145]: https://bugs.freedesktop.org/show_bug.cgi?id=108145
[fdo#108336]: https://bugs.freedesktop.org/show_bug.cgi?id=108336
[fdo#108566]: https://bugs.freedesktop.org/show_bug.cgi?id=108566
[fdo#108654]: https://bugs.freedesktop.org/show_bug.cgi?id=108654
[fdo#108840]: https://bugs.freedesktop.org/show_bug.cgi?id=108840
[fdo#108954]: https://bugs.freedesktop.org/show_bug.cgi?id=108954
[fdo#99912]: https://bugs.freedesktop.org/show_bug.cgi?id=99912
Participating hosts (7 -> 7)
------------------------------
No changes in participating hosts
Build changes
-------------
* Linux: CI_DRM_5343 -> Patchwork_11155
CI_DRM_5343: e7a162c10f4ab5e4338927ec5bc5be726ecf3e8b @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_4754: a176905d46d072300ba57f29ac2b98a0228e0e2d @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_11155: 27ac63848159e6d74686affd71e1eeeffd474ecc @ git://anongit.freedesktop.org/gfx-ci/linux
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_11155/
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH 1/6] drm: include drm_device.h from drm_legacy.h
In reply to Daniel VetterQuoted 24 lines · Daniel Vetter
Quoted 23 lines · Daniel Vetter
Quoted 15 lines · Jani Nikula
Make it easier to drop
drmP.hincludes.Cc Sam Ravnborg <[email protected]>Cc Daniel Vetter <[email protected]>Cc Laurent Pinchart <[email protected]>Signed-off-by Jani Nikula <[email protected]>--- include/drm/drm_legacy.h | 1 + 1 file changed, 1 insertion(+)include/drm/drm_legacy.h +0
-0include/drm/drm_legacy.h line 5
Quoted 4 lines
include/drm/drm_legacy.h +1
-0@@ -2,6 +2,7 @@#define __DRM_DRM_LEGACY_H__#include <drm/drm_auth.h> +#include <drm/drm_device.h> From a quick look, shouldn't a
Quoted 7 lines
Quoted 4 lines
struct
drm_device;forward decl be enough? You might need a pile more forward decl, but that's all
drm_device.hseems to pull in thatdrm_legacy.hneeds.(assuming it all works out).
The forward declaration is not enough, there's a &dev->maplist reference in the static inline drm_legacy_findmap().
BR,
Jani.
Quoted 14 lines
-Daniel
Quoted 12 lines
-Daniel
Quoted 6 lines
include/drm/drm_legacy.h +0
-0/* * Legacy driver interfaces for the Direct Rendering Manager Signature · 1 line
2.11.0Signature · 3 lines
Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch
Signature · 5 lines
Jani Nikula, Intel Open Source Graphics Center _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v2 1/1 drm: forward declare struct drm_file in drm_syncobj.h
In reply to Jani NikulaMake it easier to drop drmP.h includes. Switch from "" to <> includes while at it.
v2: forward declare instead of including drm_file.h (Daniel)
--- include/drm/drm_syncobj.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
include/drm/drm_syncobj.h +3 -1
@@ -26,7 +26,9 @@#ifndef __DRM_SYNCOBJ_H__#define __DRM_SYNCOBJ_H__ -#include "linux/dma-fence.h" +#include <linux/dma-fence.h> + +struct drm_file ;/** * struct drm_syncobj - sync object.
Signature · 6 lines
2.11.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Fi.CI.BAT: success for drm/i915: drmP.h include removal w/ drm prep work (rev2)
In reply to Jani Nikula== Series Details ==
== Series Details ==
Series: drm/i915: drmP.h include removal w/ drm prep work (rev2)
URL : https://patchwork.freedesktop.org/series/54494/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_5345 -> Patchwork_11159
====================================================
Summary
-------
**WARNING**
Minor unknown changes coming with Patchwork_11159 need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in Patchwork_11159, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.
External URL: https://patchwork.freedesktop.org/api/1.0/series/54494/revisions/2/mbox/
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_11159:
### IGT changes ###
#### Warnings ####
* igt@pm_rpm@basic-pci-d3-state:
- fi-byt-j1900: SKIP -> PASS
- fi-bsw-kefka: PASS -> SKIP
Known issues
------------
Here are the changes found in Patchwork_11159 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_psr@sprite_plane_onoff:
- fi-skl-6700hq: PASS -> FAIL [fdo#107383] +3
* igt@pm_rpm@basic-rte:
- fi-bsw-kefka: PASS -> FAIL [fdo#108800]
#### Possible fixes ####
* igt@gem_ctx_create@basic-files:
- fi-bsw-n3050: FAIL [fdo#108656] -> PASS
* igt@gem_exec_suspend@basic-s3:
- fi-blb-e6850: INCOMPLETE [fdo#107718] -> PASS
* igt@kms_chamelium@hdmi-hpd-fast:
- fi-kbl-7500u: FAIL [fdo#108767] -> PASS
* igt@pm_rpm@basic-rte:
- fi-byt-j1900: FAIL [fdo#108800] -> PASS
[fdo#107383]: https://bugs.freedesktop.org/show_bug.cgi?id=107383
[fdo#107718]: https://bugs.freedesktop.org/show_bug.cgi?id=107718
[fdo#108656]: https://bugs.freedesktop.org/show_bug.cgi?id=108656
[fdo#108767]: https://bugs.freedesktop.org/show_bug.cgi?id=108767
[fdo#108800]: https://bugs.freedesktop.org/show_bug.cgi?id=108800
Participating hosts (46 -> 42)
------------------------------
Additional (2): fi-kbl-7560u fi-pnv-d510
Missing (6): fi-kbl-soraka fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-ctg-p8600
Build changes
-------------
* Linux: CI_DRM_5345 -> Patchwork_11159
CI_DRM_5345: 401703d974c357af84537c0d5f1e07ebeaaa99fe @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_4754: a176905d46d072300ba57f29ac2b98a0228e0e2d @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_11159: f297b2f8b168d29ed9098398e7b4cfa3add0d148 @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
f297b2f8b168 drm/i915: drop all drmP.h includes 599cec293b89 drm: forward declare struct drm_file in drm_syncobj.h a049c51d629c drm: include types.h from drm_hdcp.h 7e5bb8e913fc drm: include idr.h from drm_file.h a17846bc93b0 drm: include kernel.h and agp_backend.h from intel-gtt.h 21a39fcb6899 drm: include drm_device.h from drm_legacy.h
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_11159/
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Fi.CI.IGT: success for drm/i915: drmP.h include removal w/ drm prep work (rev2)
In reply to Jani Nikula== Series Details ==
== Series Details ==
Series: drm/i915: drmP.h include removal w/ drm prep work (rev2)
URL : https://patchwork.freedesktop.org/series/54494/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_5345_full -> Patchwork_11159_full
====================================================
Summary
-------
**WARNING**
Minor unknown changes coming with Patchwork_11159_full need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in Patchwork_11159_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_11159_full:
### IGT changes ###
#### Warnings ####
* igt@pm_rc6_residency@rc6-accuracy:
- shard-snb: SKIP -> PASS
Known issues
------------
Here are the changes found in Patchwork_11159_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_ctx_isolation@vcs1-s3:
- shard-kbl: PASS -> INCOMPLETE [fdo#103665]
* igt@gem_workarounds@suspend-resume-context:
- shard-iclb: PASS -> INCOMPLETE [fdo#107713] +1
* igt@i915_suspend@shrink:
- shard-skl: NOTRUN -> INCOMPLETE [fdo#106886]
* igt@kms_available_modes_crc@available_mode_test_crc:
- shard-apl: PASS -> FAIL [fdo#106641]
* igt@kms_busy@extended-modeset-hang-newfb-render-a:
- shard-iclb: NOTRUN -> DMESG-WARN [fdo#107956]
* igt@kms_busy@extended-modeset-hang-newfb-with-reset-render-b:
- shard-skl: NOTRUN -> DMESG-WARN [fdo#107956] +1
* igt@kms_chv_cursor_fail@pipe-c-128x128-bottom-edge:
- shard-skl: PASS -> FAIL [fdo#104671]
* igt@kms_cursor_crc@cursor-128x128-random:
- shard-apl: PASS -> FAIL [fdo#103232]
* igt@kms_cursor_crc@cursor-size-change:
- shard-skl: NOTRUN -> FAIL [fdo#103232]
* igt@kms_flip@flip-vs-expired-vblank-interruptible:
- shard-skl: NOTRUN -> FAIL [fdo#105363]
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-render:
- shard-glk: PASS -> FAIL [fdo#103167]
* igt@kms_frontbuffer_tracking@fbcpsr-1p-offscren-pri-indfb-draw-pwrite:
- shard-skl: PASS -> FAIL [fdo#105682]
* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-spr-indfb-draw-pwrite:
- shard-iclb: PASS -> FAIL [fdo#103167] +3
* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-spr-indfb-fullscreen:
- shard-iclb: NOTRUN -> FAIL [fdo#103167]
* igt@kms_frontbuffer_tracking@fbcpsr-stridechange:
- shard-iclb: PASS -> FAIL [fdo#105683]
* igt@kms_panel_fitting@legacy:
- shard-skl: NOTRUN -> FAIL [fdo#105456]
* igt@kms_pipe_crc_basic@nonblocking-crc-pipe-c-frame-sequence:
- shard-skl: PASS -> FAIL [fdo#103191] / [fdo#107362]
* igt@kms_plane@pixel-format-pipe-b-planes:
- shard-skl: NOTRUN -> DMESG-WARN [fdo#106885] +1
* igt@kms_plane@plane-position-covered-pipe-b-planes:
- shard-iclb: PASS -> FAIL [fdo#103166]
* igt@kms_plane_alpha_blend@pipe-a-alpha-basic:
- shard-skl: NOTRUN -> FAIL [fdo#107815] / [fdo#108145]
* igt@kms_plane_alpha_blend@pipe-a-alpha-opaque-fb:
- shard-skl: NOTRUN -> FAIL [fdo#108145] +1
* igt@kms_plane_alpha_blend@pipe-a-constant-alpha-max:
- shard-glk: PASS -> FAIL [fdo#108145]
* igt@kms_plane_multiple@atomic-pipe-b-tiling-y:
- shard-apl: PASS -> FAIL [fdo#103166]
* igt@kms_plane_multiple@atomic-pipe-b-tiling-yf:
- shard-glk: PASS -> FAIL [fdo#103166]
* igt@kms_plane_scaling@pipe-b-scaler-with-rotation:
- shard-iclb: NOTRUN -> DMESG-WARN [fdo#107724]
* igt@kms_rotation_crc@multiplane-rotation-cropping-top:
- shard-glk: PASS -> DMESG-FAIL [fdo#105763] / [fdo#106538]
* igt@kms_setmode@basic:
- shard-skl: NOTRUN -> FAIL [fdo#99912]
- shard-hsw: PASS -> FAIL [fdo#99912]
* igt@kms_sysfs_edid_timing:
- shard-iclb: PASS -> FAIL [fdo#100047]
* igt@pm_backlight@fade_with_dpms:
- shard-iclb: PASS -> INCOMPLETE [fdo#107820]
* igt@pm_rpm@legacy-planes:
- shard-iclb: PASS -> DMESG-WARN [fdo#108654]
* igt@pm_rpm@modeset-lpsp:
- shard-iclb: PASS -> INCOMPLETE [fdo#108840]
* igt@pm_rpm@reg-read-ioctl:
- shard-iclb: PASS -> DMESG-WARN [fdo#107724] +1
* igt@pm_rpm@universal-planes:
- shard-iclb: PASS -> DMESG-WARN [fdo#108654] / [fdo#108756]
* igt@pm_rps@waitboost:
- shard-iclb: NOTRUN -> FAIL [fdo#102250] / [fdo#108059]
* {igt@runner@aborted}:
- shard-iclb: NOTRUN -> ( 2 FAIL ) [fdo#108654] / [fdo#108756]
#### Possible fixes ####
* igt@gem_softpin@noreloc-s3:
- shard-iclb: INCOMPLETE [fdo#107713] -> PASS
* igt@gem_tiled_blits@interruptible:
- shard-apl: INCOMPLETE [fdo#103927] -> PASS
* igt@kms_cursor_crc@cursor-128x128-offscreen:
- shard-skl: FAIL [fdo#103232] -> PASS +1
* igt@kms_cursor_crc@cursor-128x128-suspend:
- shard-skl: INCOMPLETE [fdo#104108] -> PASS
* igt@kms_draw_crc@draw-method-xrgb8888-pwrite-untiled:
- shard-iclb: WARN [fdo#108336] -> PASS
* igt@kms_frontbuffer_tracking@fbc-2p-primscrn-spr-indfb-draw-mmap-gtt:
- shard-glk: FAIL [fdo#103167] -> PASS
* igt@kms_frontbuffer_tracking@fbc-suspend:
- shard-skl: INCOMPLETE [fdo#104108] / [fdo#105959] / [fdo#107773] -> PASS
* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-cur-indfb-draw-pwrite:
- shard-iclb: DMESG-FAIL [fdo#107724] -> PASS +4
* igt@kms_frontbuffer_tracking@psr-1p-primscrn-cur-indfb-draw-mmap-cpu:
- shard-iclb: DMESG-WARN [fdo#107724] / [fdo#108336] -> PASS +4
* igt@kms_frontbuffer_tracking@psr-1p-primscrn-spr-indfb-move:
- shard-iclb: FAIL [fdo#103167] -> PASS
* igt@kms_plane_alpha_blend@pipe-b-coverage-7efc:
- shard-skl: FAIL [fdo#107815] -> PASS
* igt@kms_plane_multiple@atomic-pipe-c-tiling-y:
- shard-glk: FAIL [fdo#103166] -> PASS
- shard-apl: FAIL [fdo#103166] -> PASS
- shard-iclb: FAIL [fdo#103166] -> PASS * igt@kms_plane_scaling@pipe-b-scaler-with-pixel-format:
- shard-iclb: DMESG-WARN [fdo#107724] -> PASS +14
* igt@kms_setmode@basic:
- shard-iclb: FAIL [fdo#99912] -> PASS
- shard-kbl: FAIL [fdo#99912] -> PASS
* igt@prime_busy@hang-bsd:
- shard-apl: FAIL -> PASS
#### Warnings ####
* igt@kms_cursor_crc@cursor-256x256-sliding:
- shard-iclb: DMESG-WARN [fdo#107724] / [fdo#108336] -> FAIL [fdo#103232]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#100047]: https://bugs.freedesktop.org/show_bug.cgi?id=100047
[fdo#102250]: https://bugs.freedesktop.org/show_bug.cgi?id=102250
[fdo#103166]: https://bugs.freedesktop.org/show_bug.cgi?id=103166
[fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
[fdo#103191]: https://bugs.freedesktop.org/show_bug.cgi?id=103191
[fdo#103232]: https://bugs.freedesktop.org/show_bug.cgi?id=103232
[fdo#103665]: https://bugs.freedesktop.org/show_bug.cgi?id=103665
[fdo#103927]: https://bugs.freedesktop.org/show_bug.cgi?id=103927
[fdo#104108]: https://bugs.freedesktop.org/show_bug.cgi?id=104108
[fdo#104671]: https://bugs.freedesktop.org/show_bug.cgi?id=104671
[fdo#105363]: https://bugs.freedesktop.org/show_bug.cgi?id=105363
[fdo#105456]: https://bugs.freedesktop.org/show_bug.cgi?id=105456
[fdo#105682]: https://bugs.freedesktop.org/show_bug.cgi?id=105682
[fdo#105683]: https://bugs.freedesktop.org/show_bug.cgi?id=105683
[fdo#105763]: https://bugs.freedesktop.org/show_bug.cgi?id=105763
[fdo#105959]: https://bugs.freedesktop.org/show_bug.cgi?id=105959
[fdo#106538]: https://bugs.freedesktop.org/show_bug.cgi?id=106538
[fdo#106641]: https://bugs.freedesktop.org/show_bug.cgi?id=106641
[fdo#106885]: https://bugs.freedesktop.org/show_bug.cgi?id=106885
[fdo#106886]: https://bugs.freedesktop.org/show_bug.cgi?id=106886
[fdo#107362]: https://bugs.freedesktop.org/show_bug.cgi?id=107362
[fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713
[fdo#107724]: https://bugs.freedesktop.org/show_bug.cgi?id=107724
[fdo#107773]: https://bugs.freedesktop.org/show_bug.cgi?id=107773
[fdo#107815]: https://bugs.freedesktop.org/show_bug.cgi?id=107815
[fdo#107820]: https://bugs.freedesktop.org/show_bug.cgi?id=107820
[fdo#107956]: https://bugs.freedesktop.org/show_bug.cgi?id=107956
[fdo#108059]: https://bugs.freedesktop.org/show_bug.cgi?id=108059
[fdo#108145]: https://bugs.freedesktop.org/show_bug.cgi?id=108145
[fdo#108336]: https://bugs.freedesktop.org/show_bug.cgi?id=108336
[fdo#108654]: https://bugs.freedesktop.org/show_bug.cgi?id=108654
[fdo#108756]: https://bugs.freedesktop.org/show_bug.cgi?id=108756
[fdo#108840]: https://bugs.freedesktop.org/show_bug.cgi?id=108840
[fdo#99912]: https://bugs.freedesktop.org/show_bug.cgi?id=99912
Participating hosts (7 -> 7)
------------------------------
No changes in participating hosts
Build changes
-------------
* Linux: CI_DRM_5345 -> Patchwork_11159
CI_DRM_5345: 401703d974c357af84537c0d5f1e07ebeaaa99fe @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_4754: a176905d46d072300ba57f29ac2b98a0228e0e2d @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_11159: f297b2f8b168d29ed9098398e7b4cfa3add0d148 @ git://anongit.freedesktop.org/gfx-ci/linux
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_11159/
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH 6/6] drm/i915: drop all drmP.h includes
In reply to Jani NikulaQuoted 10 lines · Jani Nikula
Quoted 3 lines · Daniel Vetter
I guess next up would be to split up
i915_drv.handintel_drv.hand see how much our driver is a spaghetti mess where everything needs everything else :-)In general this got me wondering how self-contained the header files really need to be. Turns out even <
linux/kernel.h> isn't self-contained, it fails ondo_div()for my config if <asm/div64.h> isn't included some other route. Didn't dig deep, but by the looks of it this is not a new breakage (if you can call it that).
In a reasonable project I'd urge you to send the fix, but given my last endevaour into touching linux/kernel.h I can't really recommend that :-/ -Daniel
Signature · 7 lines
Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Daniel Vetter
Reviewed-byRe: [PATCH 1/6] drm: include drm_device.h from drm_legacy.h
In reply to Jani NikulaQuoted 27 lines · Jani Nikula
Quoted 26 lines · Daniel Vetter
Quoted 25 lines · Daniel Vetter
Quoted 15 lines · Jani Nikula
Make it easier to drop
drmP.hincludes.Cc Sam Ravnborg <[email protected]>Cc Daniel Vetter <[email protected]>Cc Laurent Pinchart <[email protected]>Signed-off-by Jani Nikula <[email protected]>--- include/drm/drm_legacy.h | 1 + 1 file changed, 1 insertion(+)include/drm/drm_legacy.h +0
-0include/drm/drm_legacy.h line 5
Quoted 4 lines
include/drm/drm_legacy.h +1
-0@@ -2,6 +2,7 @@#define __DRM_DRM_LEGACY_H__#include <drm/drm_auth.h> +#include <drm/drm_device.h> From a quick look, shouldn't a
struct
drm_device;
Quoted 8 lines
Quoted 5 lines
Quoted 2 lines
forward decl be enough? You might need a pile more forward decl, but that's all
drm_device.hseems to pull in thatdrm_legacy.hneeds.(assuming it all works out).
The forward declaration is not enough, there's a
&dev->maplistreference in the static inlinedrm_legacy_findmap().
Missed that, despite that I tried checking for static inlines. And a static inline for a O(n) lookup ... tempted to just deinline that.
patch that deinlines the offending function and just uses a forward decl.
Cheers, Daniel
Quoted 21 lines
BR,
Jani.Quoted 14 lines
-Daniel
Quoted 12 lines
-Daniel
Quoted 6 lines
include/drm/drm_legacy.h +0
-0/* * Legacy driver interfaces for the Direct Rendering Manager Signature · 1 line
2.11.0Signature · 3 lines
Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.chSignature · 1 line
Jani Nikula, Intel Open Source Graphics Center
Signature · 7 lines
Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Hi Jani.
Quoted 19 lines · Jani Nikula
First make some drm headers self-contained, removing the implicit dependency on a previous
drmP.hinclude. Then remove alldrmP.hincludes from drm/i915.Inspired by Sam's series [1]. Theres a one line trivial conflict between that one and this series in
drm_file.h(patch 3), but I'm keeping this series self-contained. Should be easy enough to resolve.I'm fine with merging the first 5 through either drm-misc or drm-intel, but I'd rather merge the last one through drm-intel.
BR,
Jani.Cc Sam Ravnborg <[email protected]>Cc Daniel Vetter <[email protected]>Cc Laurent Pinchart <[email protected]>
Quoted 7 lines
Jani Nikula (6):
drm: includedrm_device.hfromdrm_legacy.h
drm: includekernel.handagp_backend.hfromintel-gtt.h
drm: includeidr.hfromdrm_file.h
drm: includetypes.hfromdrm_hdcp.h
drm: includedrm_file.hfromdrm_syncobj.hdrm/i915: drop alldrmP.hincludes
Series looks good.
Could I ask you to include the following patch in your series:
include/drm/drm_framebuffer.h +3 -1
@@ -23,8 +23,10 @@#ifndef __DRM_FRAMEBUFFER_H__#define __DRM_FRAMEBUFFER_H__ -#include <linux/list.h> #include <linux/ctype.h> +#include <linux/list.h> +#include <linux/sched.h> +#include <drm/drm_mode_object.h> struct drm_framebuffer ;
Without this all users of drm_framebuffer.h needs to include linux/sched.h The only thing required from sched.h is TASK_COMM_LEN but I did not find any good way to avoid this dependency.
(I sorted the includes in alphabetic order too).
No need to credit me in any way for this trivial fix.
Sam
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
PATCH v2 1/1 drm: un-inline drm_legacy_findmap()
In reply to Jani NikulaAlso include drm_hashtab.h and add struct drm_device forward declaration in drm_legacy.h to make it more self-contained. Make it easier to drop drmP.h includes.
v2: avoid including drm_device.h by un-inlining (Daniel)
--- drivers/gpu/drm/drm_bufs.c | 11 +++++++++++ include/drm/drm_legacy.h | 14 ++++---------- 2 files changed, 15 insertions(+), 10 deletions(-)
drivers/gpu/drm/drm_bufs.c +11 -0
@@ -377,6 +377,17 @@ int drm_legacy_addmap(struct drm_device *dev, resource_size_t offset, }EXPORT_SYMBOL (drm_legacy_addmap); +struct drm_local_map *drm_legacy_findmap (struct drm_device *dev, +unsigned int token) +{ +struct drm_map_list *_entry; +list_for_each_entry (_entry, &dev->maplist, head) +if (_entry->user_token == token) +return _entry->map; +return NULL ; +} +EXPORT_SYMBOL (drm_legacy_findmap); +/** * Ioctl to specify a range of memory that is available for mapping by a * non-root process.
include/drm/drm_legacy.h +4 -10
@@ -2,6 +2,9 @@#define __DRM_DRM_LEGACY_H__#include <drm/drm_auth.h> +#include <drm/drm_hashtab.h> + +struct drm_device ;/* * Legacy driver interfaces for the Direct Rendering Manager
@@ -156,6 +159,7 @@ struct drm_map_list {int drm_legacy_addmap (struct drm_device *d,resource_size_t offset,unsigned int size,enum drm_map_type type,enum drm_map_flags flags,struct drm_local_map **map_p); +struct drm_local_map *drm_legacy_findmap (struct drm_device *dev,unsigned int token);void drm_legacy_rmmap (struct drm_device *d,struct drm_local_map *map);int drm_legacy_rmmap_locked (struct drm_device *d,struct drm_local_map *map); void drm_legacy_master_rmmaps(struct drm_device *dev,
@@ -194,14 +198,4 @@ void drm_legacy_ioremap(struct drm_local_map *map, struct drm_device *dev);void drm_legacy_ioremap_wc (struct drm_local_map *map,struct drm_device *dev);void drm_legacy_ioremapfree (struct drm_local_map *map,struct drm_device *dev); -static inline struct drm_local_map *drm_legacy_findmap (struct drm_device *dev, -unsigned int token) -{ -struct drm_map_list *_entry; -list_for_each_entry (_entry, &dev->maplist, head) -if (_entry->user_token == token) -return _entry->map; -return NULL ; -} -#endif /* __DRM_DRM_LEGACY_H__ */
Signature · 6 lines
2.11.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH 1/6] drm: include drm_device.h from drm_legacy.h
In reply to Daniel VetterQuoted 34 lines · Daniel Vetter
Quoted 33 lines · Jani Nikula
Quoted 31 lines · Daniel Vetter
Quoted 23 lines · Daniel Vetter
Quoted 15 lines · Jani Nikula
Make it easier to drop
drmP.hincludes.Cc Sam Ravnborg <[email protected]>Cc Daniel Vetter <[email protected]>Cc Laurent Pinchart <[email protected]>Signed-off-by Jani Nikula <[email protected]>--- include/drm/drm_legacy.h | 1 + 1 file changed, 1 insertion(+)include/drm/drm_legacy.h +0
-0include/drm/drm_legacy.h line 5
Quoted 4 lines
include/drm/drm_legacy.h +1
-0@@ -2,6 +2,7 @@#define __DRM_DRM_LEGACY_H__#include <drm/drm_auth.h> +#include <drm/drm_device.h> From a quick look, shouldn't a
Quoted 4 lines
struct
drm_device;forward decl be enough? You might need a pile more forward decl, but that's all
drm_device.hseems to pull in thatdrm_legacy.hneeds.(assuming it all works out).
Quoted 8 lines
Quoted 2 lines
The forward declaration is not enough, there's a
&dev->maplistreference in the static inlinedrm_legacy_findmap().Missed that, despite that I tried checking for static inlines. And a static inline for a O(n) lookup ... tempted to just deinline that.
patch that deinlines the offending function and just uses a forward decl.
It'll still require drm_hashtab.h include, but less intrusive than drm_device.h I guess. Patch sent.
BR,
Jani.
Quoted 24 lines
Cheers, Daniel
Quoted 21 lines
BR,
Jani.Quoted 14 lines
-Daniel
Quoted 12 lines
-Daniel
Quoted 6 lines
include/drm/drm_legacy.h +0
-0/* * Legacy driver interfaces for the Direct Rendering Manager Signature · 1 line
2.11.0Signature · 3 lines
Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.chSignature · 1 line
Jani Nikula, Intel Open Source Graphics Center
Signature · 5 lines
Jani Nikula, Intel Open Source Graphics Center _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✗ Fi.CI.CHECKPATCH: warning for drm/i915: drmP.h include removal w/ drm prep work (rev3)
In reply to Jani Nikula== Series Details ==
== Series Details ==
Series: drm/i915: drmP.h include removal w/ drm prep work (rev3)
URL : https://patchwork.freedesktop.org/series/54494/
State : warning
== Summary ==
$ dim checkpatch origin/drm-tip 2245c2145b70 drm: un-inline drm_legacy_findmap() -:29: WARNING:LINE_SPACING: Missing a blank line after declarations #29: FILE: drivers/gpu/drm/drm_bufs.c:384: + struct drm_map_list *_entry; + list_for_each_entry(_entry, &dev->maplist, head)
total: 0 errors, 1 warnings, 0 checks, 47 lines checked 8b63018da36a drm: include kernel.h and agp_backend.h from intel-gtt.h e09116cee616 drm: include idr.h from drm_file.h fa31dd2504d2 drm: include types.h from drm_hdcp.h 96c737b5ff98 drm: forward declare struct drm_file in drm_syncobj.h 1dcd65706311 drm/i915: drop all drmP.h includes
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Fi.CI.BAT: success for drm/i915: drmP.h include removal w/ drm prep work (rev3)
In reply to Jani Nikula== Series Details ==
== Series Details ==
Series: drm/i915: drmP.h include removal w/ drm prep work (rev3)
URL : https://patchwork.freedesktop.org/series/54494/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_5346 -> Patchwork_11163
====================================================
Summary
-------
**WARNING**
Minor unknown changes coming with Patchwork_11163 need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in Patchwork_11163, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.
External URL: https://patchwork.freedesktop.org/api/1.0/series/54494/revisions/3/mbox/
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_11163:
### IGT changes ###
#### Warnings ####
* igt@pm_rpm@basic-pci-d3-state:
- fi-bsw-kefka: PASS -> SKIP
Known issues
------------
Here are the changes found in Patchwork_11163 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@pm_rpm@basic-rte:
- fi-bsw-kefka: PASS -> FAIL [fdo#108800]
* {igt@runner@aborted}:
- fi-icl-y: NOTRUN -> FAIL [fdo#108915]
#### Possible fixes ####
* igt@i915_selftest@live_hangcheck:
- fi-bwr-2160: DMESG-FAIL [fdo#108735] -> PASS
* igt@kms_chamelium@hdmi-hpd-fast:
- fi-kbl-7500u: FAIL [fdo#108767] -> PASS
#### Warnings ####
* igt@i915_selftest@live_contexts:
- fi-icl-u3: INCOMPLETE [fdo#108315] -> DMESG-FAIL [fdo#108569]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#108315]: https://bugs.freedesktop.org/show_bug.cgi?id=108315
[fdo#108569]: https://bugs.freedesktop.org/show_bug.cgi?id=108569
[fdo#108735]: https://bugs.freedesktop.org/show_bug.cgi?id=108735
[fdo#108767]: https://bugs.freedesktop.org/show_bug.cgi?id=108767
[fdo#108800]: https://bugs.freedesktop.org/show_bug.cgi?id=108800
[fdo#108915]: https://bugs.freedesktop.org/show_bug.cgi?id=108915
Participating hosts (45 -> 42)
------------------------------
Additional (3): fi-icl-y fi-byt-j1900 fi-pnv-d510
Missing (6): fi-kbl-soraka fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-ctg-p8600
Build changes
-------------
* Linux: CI_DRM_5346 -> Patchwork_11163
CI_DRM_5346: 91a530ddcb83ef87a2f833bdb4ea84efe82cb1f4 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_4754: a176905d46d072300ba57f29ac2b98a0228e0e2d @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_11163: 1dcd6570631112d06a2a30593492d2faee6599e9 @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
1dcd65706311 drm/i915: drop all drmP.h includes 96c737b5ff98 drm: forward declare struct drm_file in drm_syncobj.h fa31dd2504d2 drm: include types.h from drm_hdcp.h e09116cee616 drm: include idr.h from drm_file.h 8b63018da36a drm: include kernel.h and agp_backend.h from intel-gtt.h 2245c2145b70 drm: un-inline drm_legacy_findmap()
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_11163/
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH v2] drm: un-inline drm_legacy_findmap()
In reply to Jani NikulaQuoted 10 lines · Jani Nikula
Also include
drm_hashtab.hand add structdrm_deviceforward declaration indrm_legacy.hto make it more self-contained. Make it easier to dropdrmP.hincludes.v2: avoid including
drm_device.hby un-inlining (Daniel)Cc Sam Ravnborg <[email protected]>Cc Daniel Vetter <[email protected]>Cc Laurent Pinchart <[email protected]>Signed-off-by Jani Nikula <[email protected]>
Quoted 67 lines
--- drivers/gpu/drm/drm_bufs.c | 11 +++++++++++ include/drm/drm_legacy.h | 14 ++++---------- 2 files changed, 15 insertions(+), 10 deletions(-)drivers/gpu/drm/drm_bufs.c +11
-0@@ -377,6 +377,17 @@ int drm_legacy_addmap(struct drm_device *dev, resource_size_t offset, }EXPORT_SYMBOL (drm_legacy_addmap); +struct drm_local_map *drm_legacy_findmap (struct drm_device *dev, +unsigned int token) +{ +struct drm_map_list *_entry; +list_for_each_entry (_entry, &dev->maplist, head) +if (_entry->user_token == token) +return _entry->map; +return NULL ; +} +EXPORT_SYMBOL (drm_legacy_findmap); +/** * Ioctl to specify a range of memory that is available for mapping by a * non-root process. include/drm/drm_legacy.h +4
-10@@ -2,6 +2,9 @@#define __DRM_DRM_LEGACY_H__#include <drm/drm_auth.h> +#include <drm/drm_hashtab.h> + +struct drm_device ;/* * Legacy driver interfaces for the Direct Rendering Manager @@ -156,6 +159,7 @@ struct drm_map_list {int drm_legacy_addmap (struct drm_device *d,resource_size_t offset,unsigned int size,enum drm_map_type type,enum drm_map_flags flags,struct drm_local_map **map_p); +struct drm_local_map *drm_legacy_findmap (struct drm_device *dev,unsigned int token);void drm_legacy_rmmap (struct drm_device *d,struct drm_local_map *map);int drm_legacy_rmmap_locked (struct drm_device *d,struct drm_local_map *map); void drm_legacy_master_rmmaps(struct drm_device *dev,@@ -194,14 +198,4 @@ void drm_legacy_ioremap(struct drm_local_map *map, struct drm_device *dev);void drm_legacy_ioremap_wc (struct drm_local_map *map,struct drm_device *dev);void drm_legacy_ioremapfree (struct drm_local_map *map,struct drm_device *dev); -static inline struct drm_local_map *drm_legacy_findmap (struct drm_device *dev, -unsigned int token) -{ -struct drm_map_list *_entry; -list_for_each_entry (_entry, &dev->maplist, head) -if (_entry->user_token == token) -return _entry->map; -return NULL ; -} -#endif /* __DRM_DRM_LEGACY_H__ */ Signature · 1 line
2.11.0
Signature · 7 lines
Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Fi.CI.IGT: success for drm/i915: drmP.h include removal w/ drm prep work (rev3)
In reply to Jani Nikula== Series Details ==
== Series Details ==
Series: drm/i915: drmP.h include removal w/ drm prep work (rev3)
URL : https://patchwork.freedesktop.org/series/54494/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_5346_full -> Patchwork_11163_full
====================================================
Summary
-------
**WARNING**
Minor unknown changes coming with Patchwork_11163_full need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in Patchwork_11163_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_11163_full:
### IGT changes ###
#### Possible regressions ####
* {igt@runner@aborted}:
- shard-iclb: NOTRUN -> FAIL
#### Warnings ####
* igt@kms_cursor_legacy@cursora-vs-flipa-atomic-transitions:
- shard-snb: SKIP -> PASS +7
* igt@tools_test@tools_test:
- shard-glk: SKIP -> PASS
Known issues
------------
Here are the changes found in Patchwork_11163_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_cpu_reloc@full:
- shard-skl: NOTRUN -> TIMEOUT [fdo#108248]
* igt@gem_ctx_isolation@vecs0-s3:
- shard-skl: PASS -> INCOMPLETE [fdo#104108] / [fdo#107773]
* igt@gem_tiled_blits@interruptible:
- shard-apl: PASS -> INCOMPLETE [fdo#103927]
* igt@i915_suspend@shrink:
- shard-iclb: NOTRUN -> DMESG-WARN [fdo#108784]
* igt@kms_busy@extended-pageflip-modeset-hang-oldfb-render-a:
- shard-iclb: NOTRUN -> DMESG-WARN [fdo#107956]
* igt@kms_busy@extended-pageflip-modeset-hang-oldfb-render-b:
- shard-iclb: PASS -> DMESG-WARN [fdo#107956]
* igt@kms_cursor_crc@cursor-256x256-dpms:
- shard-glk: PASS -> FAIL [fdo#103232] +1
* igt@kms_cursor_legacy@cursor-vs-flip-atomic-transitions:
- shard-hsw: PASS -> FAIL [fdo#103355]
* igt@kms_cursor_legacy@cursor-vs-flip-atomic-transitions-varying-size:
- shard-iclb: PASS -> FAIL [fdo#103355]
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-move:
- shard-apl: PASS -> FAIL [fdo#103167]
* igt@kms_frontbuffer_tracking@psr-1p-primscrn-spr-indfb-draw-blt:
- shard-iclb: PASS -> FAIL [fdo#103167] +5
* igt@kms_pipe_crc_basic@suspend-read-crc-pipe-c:
- shard-kbl: PASS -> DMESG-WARN [fdo#103558] / [fdo#105602] +11
* igt@kms_plane@pixel-format-pipe-a-planes:
- shard-skl: NOTRUN -> DMESG-WARN [fdo#106885]
* igt@kms_plane_alpha_blend@pipe-b-alpha-basic:
- shard-skl: NOTRUN -> FAIL [fdo#107815] / [fdo#108145]
* igt@kms_plane_alpha_blend@pipe-b-alpha-transparant-fb:
- shard-skl: NOTRUN -> FAIL [fdo#108145]
* igt@kms_plane_multiple@atomic-pipe-b-tiling-yf:
- shard-iclb: PASS -> FAIL [fdo#103166]
* igt@kms_rmfb@rmfb-ioctl:
- shard-iclb: NOTRUN -> DMESG-WARN [fdo#107724] +3
* igt@kms_setmode@basic:
- shard-hsw: PASS -> FAIL [fdo#99912]
* igt@perf_pmu@rc6-runtime-pm:
- shard-iclb: PASS -> FAIL [fdo#105010]
* igt@pm_rpm@modeset-lpsp-stress:
- shard-iclb: PASS -> DMESG-WARN [fdo#108654]
* igt@pm_rpm@modeset-pc8-residency-stress:
- shard-iclb: SKIP -> INCOMPLETE [fdo#108840]
#### Possible fixes ####
* igt@kms_busy@extended-modeset-hang-newfb-render-b:
- shard-iclb: DMESG-WARN [fdo#107956] -> PASS
* igt@kms_busy@extended-modeset-hang-newfb-with-reset-render-a:
- shard-hsw: DMESG-WARN [fdo#107956] -> PASS
* igt@kms_chv_cursor_fail@pipe-c-128x128-bottom-edge:
- shard-skl: FAIL [fdo#104671] -> PASS
* igt@kms_chv_cursor_fail@pipe-c-64x64-bottom-edge:
- shard-hsw: FAIL [fdo#107814] -> PASS
* igt@kms_color@pipe-a-ctm-green-to-red:
- shard-skl: FAIL [fdo#107201] -> PASS
* igt@kms_color@pipe-b-degamma:
- shard-skl: FAIL [fdo#104782] -> PASS
* igt@kms_cursor_crc@cursor-128x128-offscreen:
- shard-skl: FAIL [fdo#103232] -> PASS +1
* igt@kms_cursor_crc@cursor-128x128-random:
- shard-apl: FAIL [fdo#103232] -> PASS
* igt@kms_cursor_crc@cursor-64x64-suspend:
- shard-apl: FAIL [fdo#103191] / [fdo#103232] -> PASS +1
* igt@kms_draw_crc@draw-method-xrgb8888-mmap-cpu-ytiled:
- shard-iclb: WARN [fdo#108336] -> PASS +1
* igt@kms_fbcon_fbt@fbc-suspend:
- shard-skl: INCOMPLETE [fdo#104108] / [fdo#107773] -> PASS
* igt@kms_flip@2x-wf_vblank-ts-check-interruptible:
- shard-hsw: DMESG-WARN [fdo#102614] -> PASS
* igt@kms_flip@basic-flip-vs-wf_vblank:
- shard-iclb: DMESG-WARN [fdo#107724] -> PASS +22
* igt@kms_frontbuffer_tracking@fbc-2p-primscrn-spr-indfb-fullscreen:
- shard-glk: FAIL [fdo#103167] -> PASS
* igt@kms_frontbuffer_tracking@fbc-indfb-scaledprimary:
- shard-iclb: DMESG-FAIL [fdo#107724] -> PASS +5
* igt@kms_frontbuffer_tracking@psr-1p-primscrn-pri-indfb-draw-mmap-cpu:
- shard-iclb: DMESG-WARN [fdo#107724] / [fdo#108336] -> PASS +14
* igt@kms_pipe_crc_basic@nonblocking-crc-pipe-c-frame-sequence:
- shard-skl: FAIL [fdo#103191] / [fdo#107362] -> PASS
* igt@kms_plane@plane-panning-bottom-right-suspend-pipe-b-planes:
- shard-iclb: DMESG-FAIL [fdo#103166] / [fdo#107724] -> PASS
* igt@kms_plane_alpha_blend@pipe-b-coverage-7efc:
- shard-skl: FAIL [fdo#107815] -> PASS
* igt@kms_plane_multiple@atomic-pipe-b-tiling-y:
- shard-apl: FAIL [fdo#103166] -> PASS +2
* igt@kms_plane_multiple@atomic-pipe-c-tiling-y:
- shard-glk: FAIL [fdo#103166] -> PASS
* igt@kms_rotation_crc@multiplane-rotation-cropping-top:
- shard-kbl: DMESG-WARN [fdo#105604] -> PASS
- shard-glk: DMESG-FAIL [fdo#105763] / [fdo#106538] -> PASS
* igt@kms_vblank@pipe-c-ts-continuation-idle-hang:
- shard-apl: DMESG-WARN [fdo#103558] / [fdo#105602] -> PASS +12
* igt@pm_rpm@dpms-lpsp:
- shard-iclb: INCOMPLETE [fdo#108840] -> PASS
* igt@pm_rpm@legacy-planes:
- shard-iclb: DMESG-WARN [fdo#108654] -> PASS
#### Warnings ####
* igt@i915_suspend@shrink:
- shard-skl: INCOMPLETE [fdo#106886] -> DMESG-WARN [fdo#108784]
- shard-hsw: INCOMPLETE [fdo#103540] / [fdo#106886] -> DMESG-WARN [fdo#108784]
* igt@kms_ccs@pipe-b-crc-primary-basic:
- shard-iclb: DMESG-WARN [fdo#107724] / [fdo#108336] -> FAIL [fdo#107725] +1
* igt@kms_cursor_crc@cursor-256x256-suspend:
- shard-iclb: FAIL [fdo#103232] -> DMESG-FAIL [fdo#103232]
* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-spr-indfb-fullscreen:
- shard-iclb: DMESG-FAIL [fdo#107724] -> FAIL [fdo#103167]
* igt@kms_plane_multiple@atomic-pipe-c-tiling-y:
- shard-iclb: DMESG-WARN [fdo#107724] / [fdo#108336] -> FAIL [fdo#103166]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#102614]: https://bugs.freedesktop.org/show_bug.cgi?id=102614
[fdo#103166]: https://bugs.freedesktop.org/show_bug.cgi?id=103166
[fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
[fdo#103191]: https://bugs.freedesktop.org/show_bug.cgi?id=103191
[fdo#103232]: https://bugs.freedesktop.org/show_bug.cgi?id=103232
[fdo#103355]: https://bugs.freedesktop.org/show_bug.cgi?id=103355
[fdo#103540]: https://bugs.freedesktop.org/show_bug.cgi?id=103540
[fdo#103558]: https://bugs.freedesktop.org/show_bug.cgi?id=103558
[fdo#103927]: https://bugs.freedesktop.org/show_bug.cgi?id=103927
[fdo#104108]: https://bugs.freedesktop.org/show_bug.cgi?id=104108
[fdo#104671]: https://bugs.freedesktop.org/show_bug.cgi?id=104671
[fdo#104782]: https://bugs.freedesktop.org/show_bug.cgi?id=104782
[fdo#105010]: https://bugs.freedesktop.org/show_bug.cgi?id=105010
[fdo#105602]: https://bugs.freedesktop.org/show_bug.cgi?id=105602
[fdo#105604]: https://bugs.freedesktop.org/show_bug.cgi?id=105604
[fdo#105763]: https://bugs.freedesktop.org/show_bug.cgi?id=105763
[fdo#106538]: https://bugs.freedesktop.org/show_bug.cgi?id=106538
[fdo#106885]: https://bugs.freedesktop.org/show_bug.cgi?id=106885
[fdo#106886]: https://bugs.freedesktop.org/show_bug.cgi?id=106886
[fdo#107201]: https://bugs.freedesktop.org/show_bug.cgi?id=107201
[fdo#107362]: https://bugs.freedesktop.org/show_bug.cgi?id=107362
[fdo#107724]: https://bugs.freedesktop.org/show_bug.cgi?id=107724
[fdo#107725]: https://bugs.freedesktop.org/show_bug.cgi?id=107725
[fdo#107773]: https://bugs.freedesktop.org/show_bug.cgi?id=107773
[fdo#107814]: https://bugs.freedesktop.org/show_bug.cgi?id=107814
[fdo#107815]: https://bugs.freedesktop.org/show_bug.cgi?id=107815
[fdo#107956]: https://bugs.freedesktop.org/show_bug.cgi?id=107956
[fdo#108145]: https://bugs.freedesktop.org/show_bug.cgi?id=108145
[fdo#108248]: https://bugs.freedesktop.org/show_bug.cgi?id=108248
[fdo#108336]: https://bugs.freedesktop.org/show_bug.cgi?id=108336
[fdo#108654]: https://bugs.freedesktop.org/show_bug.cgi?id=108654
[fdo#108784]: https://bugs.freedesktop.org/show_bug.cgi?id=108784
[fdo#108840]: https://bugs.freedesktop.org/show_bug.cgi?id=108840
[fdo#99912]: https://bugs.freedesktop.org/show_bug.cgi?id=99912
Participating hosts (7 -> 7)
------------------------------
No changes in participating hosts
Build changes
-------------
* Linux: CI_DRM_5346 -> Patchwork_11163
CI_DRM_5346: 91a530ddcb83ef87a2f833bdb4ea84efe82cb1f4 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_4754: a176905d46d072300ba57f29ac2b98a0228e0e2d @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_11163: 1dcd6570631112d06a2a30593492d2faee6599e9 @ git://anongit.freedesktop.org/gfx-ci/linux
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_11163/
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 9 lines · Daniel Vetter
Quoted 8 lines · Jani Nikula
First make some drm headers self-contained, removing the implicit dependency on a previous
drmP.hinclude. Then remove alldrmP.hincludes from drm/i915.Inspired by Sam's series [1]. Theres a one line trivial conflict between that one and this series in
drm_file.h(patch 3), but I'm keeping this series self-contained. Should be easy enough to resolve.
Quoted 7 lines
Quoted 2 lines
I'm fine with merging the first 5 through either drm-misc or drm-intel, but I'd rather merge the last one through drm-intel.
Usually I'd say stuff it into drm-misc and then backmerge for the last patch, but -rc1 is still a few weeks away I think, so not great. Probably best if you stuff this into a topic branch in drm-intel, and then send out pull requests to both drm-misc-next and dinq.
Thanks for all the reviews, pushed patches 1-5 to topic/drmp-cleanup with $(git merge-base drm-misc-next drm-intel-next-queued) as the starting point. It's also included in drm-tip now.
I'll probably let it simmer there until, uh, next year, and send the pull requests to drm-misc and drm-intel after that. And then apply patch 6 on top of dinq.
BR,
Jani.
Signature · 5 lines
Jani Nikula, Intel Open Source Graphics Center _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Re: [PATCH v2] drm: un-inline drm_legacy_findmap()
In reply to Jani NikulaHi Jani,
Thank you for the patch.
Quoted 5 lines · On Friday, 28 December 2018 15:04:46 EET Jani Nikula wrote:
Also include
drm_hashtab.hand add structdrm_deviceforward declaration indrm_legacy.hto make it more self-contained. Make it easier to dropdrmP.hincludes.v2: avoid including
drm_device.hby un-inlining (Daniel)
It would be nice to explain why you de-inline the function (I assume because it's a bit too large).
Quoted 70 lines
Cc Sam Ravnborg <[email protected]>Cc Daniel Vetter <[email protected]>Cc Laurent Pinchart <[email protected]>Signed-off-by Jani Nikula <[email protected]>--- drivers/gpu/drm/drm_bufs.c | 11 +++++++++++ include/drm/drm_legacy.h | 14 ++++---------- 2 files changed, 15 insertions(+), 10 deletions(-)drivers/gpu/drm/drm_bufs.c +11
-0@@ -377,6 +377,17 @@ int drm_legacy_addmap(struct drm_device *dev, resource_size_t offset, }EXPORT_SYMBOL (drm_legacy_addmap ); +struct drm_local_map *drm_legacy_findmap (struct drm_device *dev, +unsigned int token) +{ +struct drm_map_list *_entry; +list_for_each_entry (_entry, &dev->maplist, head) +if (_entry->user_token == token) +return _entry->map; +return NULL ; +} +EXPORT_SYMBOL (drm_legacy_findmap); +/** * Ioctl to specify a range of memory that is available for mapping by a * non-root process. include/drm/drm_legacy.h +4
-0@@ -2,6 +2,9 @@#define __DRM_DRM_LEGACY_H__#include <drm/drm_auth.h> +#include <drm/drm_hashtab.h> + +struct drm_device ;/* * Legacy driver interfaces for the Direct Rendering Manager @@ -156,6 +159,7 @@ struct drm_map_list {int drm_legacy_addmap (struct drm_device *d,resource_size_t offset,unsigned int size,enum drm_map_type type,enum drm_map_flags flags,struct drm_local_map **map_p); +struct drm_local_map *drm_legacy_findmap(struct drm_device *dev, unsignedint token); void
drm_legacy_rmmap(struct drm_device *d, struct drm_local_map *map); intdrm_legacy_rmmap_locked(struct drm_device *d, struct drm_local_map *map); void drm_legacy_master_rmmaps(structdrm_device*dev,include/drm/drm_legacy.h +0
-0@@ -194,14 +198,4 @@ void drm_legacy_ioremap(struct drm_local_map *map,struct
drm_device*dev); voiddrm_legacy_ioremap_wc(struct drm_local_map *map, struct drm_device *dev); voiddrm_legacy_ioremapfree(struct drm_local_map *map, struct drm_device *dev);-static inline struct
drm_local_map*drm_legacy_findmap(structdrm_device
*dev, - unsigned int token)include/drm/drm_legacy.h +0
-8-{ -struct drm_map_list *_entry; -list_for_each_entry (_entry, &dev->maplist, head) -if (_entry->user_token == token) -return _entry->map; -return NULL ; -} -#endif /* __DRM_DRM_LEGACY_H__ */
Signature · 10 lines
Regards, Laurent Pinchart _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Re: [PATCH 3/6] drm: include idr.h from drm_file.h
In reply to Jani NikulaHi Jani,
Thank you for the patch.
Quoted 1 line · On Thursday, 27 December 2018 14:56:38 EET Jani Nikula wrote:
Make it easier to drop
drmP.hincludes.
How about explaining why idr.h is needed ?
"drm_file.h embeds idr structures in DRM-specific structures. Include the corresponding header to make drm_file.h self-contained."
Quoted 19 lines
Cc Sam Ravnborg <[email protected]>Cc Daniel Vetter <[email protected]>Cc Laurent Pinchart <[email protected]>Signed-off-by Jani Nikula <[email protected]>--- include/drm/drm_file.h | 1 + 1 file changed, 1 insertion(+)include/drm/drm_file.h +1
-0@@ -32,6 +32,7 @@#include <linux/types.h> #include <linux/completion.h> +#include <linux/idr.h> #include <uapi/drm/drm.h>
Signature · 10 lines
Regards, Laurent Pinchart _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH 4/6] drm: include types.h from drm_hdcp.h
In reply to Jani NikulaHi Jani,
Thank you for the patch.
Quoted 1 line · On Thursday, 27 December 2018 14:56:39 EET Jani Nikula wrote:
Make it easier to drop
drmP.hincludes.
Same comment as for the previous patches, let's explain the reason.
"drm_hdcp.h uses kernel integer types, make it self-contained by including linux/kernel.h. This prepares for dropping drmP.h from files including drm_hdcp.h."
Quoted 20 lines
Cc Sam Ravnborg <[email protected]>Cc Daniel Vetter <[email protected]>Cc Laurent Pinchart <[email protected]>Signed-off-by Jani Nikula <[email protected]>--- include/drm/drm_hdcp.h | 2 ++ 1 file changed, 2 insertions(+)include/drm/drm_hdcp.h +2
-0@@ -9,6 +9,8 @@#ifndef _DRM_HDCP_H_INCLUDED_#define _DRM_HDCP_H_INCLUDED_ +#include <linux/types.h> +/* Period of hdcp checks (to ensure we're still authenticated) */ #define DRM_HDCP_CHECK_PERIOD_MS (128 * 16)
Signature · 10 lines
Regards, Laurent Pinchart _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH v2] drm: forward declare struct drm_file in drm_syncobj.h
In reply to Jani NikulaHi Jani,
Thank you for the patch.
Quoted 4 lines · On Friday, 28 December 2018 10:28:15 EET Jani Nikula wrote:
Make it easier to drop
drmP.hincludes. Switch from "" to <> includes while at it.v2: forward declare instead of including
drm_file.h(Daniel)
but with the same comments as for the previous patches.
Quoted 24 lines
Cc Sam Ravnborg <[email protected]>Cc Daniel Vetter <[email protected]>Cc Laurent Pinchart <[email protected]>Reviewed-by Daniel Vetter <[email protected]>Signed-off-by Jani Nikula <[email protected]>--- include/drm/drm_syncobj.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)include/drm/drm_syncobj.h +3
-1@@ -26,7 +26,9 @@#ifndef __DRM_SYNCOBJ_H__#define __DRM_SYNCOBJ_H__ -#include "linux/dma-fence.h" +#include <linux/dma-fence.h> + +struct drm_file ;/** * struct drm_syncobj - sync object.
Signature · 10 lines
Regards, Laurent Pinchart _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 3 lines · Jani Nikula
Thanks for all the reviews, pushed patches 1-5 to topic/drmp-cleanup with $(git merge-base drm-misc-next drm-intel-next-queued) as the starting point. It's also included in drm-tip now.
So I did this *before* I got the review feedback from Laurent, based on Daniel's review only. Would you all like me to redo the branch with Laurent's comments addressed and r-b added?
BR,
Jani.
Signature · 5 lines
Jani Nikula, Intel Open Source Graphics Center _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Hi Jani,
Quoted 8 lines · On Wednesday, 2 January 2019 09:47:58 EET Jani Nikula wrote:
Quoted 3 lines · Jani Nikula
Thanks for all the reviews, pushed patches 1-5 to topic/drmp-cleanup with $(git merge-base drm-misc-next drm-intel-next-queued) as the starting point. It's also included in drm-tip now.
So I did this *before* I got the review feedback from Laurent, based on Daniel's review only. Would you all like me to redo the branch with Laurent's comments addressed and r-b added?
If you think my comments are valuable, that may be a good idea :-)
Signature · 10 lines
Regards, Laurent Pinchart _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 8 lines · Laurent Pinchart
Hi Jani,
Quoted 5 lines · On Wednesday, 2 January 2019 09:47:58 EET Jani Nikula wrote:
Quoted 3 lines · Jani Nikula
Thanks for all the reviews, pushed patches 1-5 to topic/drmp-cleanup with $(git merge-base drm-misc-next drm-intel-next-queued) as the starting point. It's also included in drm-tip now.
Quoted 5 lines
Quoted 3 lines
So I did this *before* I got the review feedback from Laurent, based on Daniel's review only. Would you all like me to redo the branch with Laurent's comments addressed and r-b added?
If you think my comments are valuable, that may be a good idea :-)
Put that way... apologies for even thinking I have an option here! :)
I took the liberty of force pushing the topic branch, with just the commit messages updated to reflect your review.
Thanks,
Jani.
Signature · 5 lines
Jani Nikula, Intel Open Source Graphics Center _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx