From patchwork Sat May 25 20:43:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Ravnborg X-Patchwork-Id: 10961115 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id ABD211395 for ; Sat, 25 May 2019 20:43:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9D07F288DB for ; Sat, 25 May 2019 20:43:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 911CD28AA2; Sat, 25 May 2019 20:43:35 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 1BF0228AAA for ; Sat, 25 May 2019 20:43:35 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A1B0E6E16D; Sat, 25 May 2019 20:43:33 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-lj1-x241.google.com (mail-lj1-x241.google.com [IPv6:2a00:1450:4864:20::241]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9B0136E16D; Sat, 25 May 2019 20:43:32 +0000 (UTC) Received: by mail-lj1-x241.google.com with SMTP id q62so11496663ljq.7; Sat, 25 May 2019 13:43:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=8FEa7021EScyRFJ8JQgdSHDcUZj2MgIq0nWLWijSyIk=; b=bXeZ51iQMjZm8OhDfjjcs8ZbR9jPmGcE+Abdgkvj4U7Ri8Fi+eI5LH4HDYGbjR/Wdu 6IDX8g2UpVdHEjhwZLjInM0AcgrRMZur/KoqGmHsXApEeMHOFIN9EQMDoHaIrQjFE5kn i+gTKEIjtO8Q6Krn9MOG4qVEVuMUg7FzipbrA3KC7lMPNnWVdcrVfgSBnUbPp3ZG4JXD lAzTdFIHNmQbzDe2f/j0SSCNmF18VAsMHwKDXTix6sUed1R66ImBgezlzmbVwXvPPrjD u0dPoTJ+j+xuSFNK2jhAp0EI5lo5UGjR5XhLAATOJaDZtNtc0PQ5M1Jw6x/jb84A3Z5a +TgQ== X-Gm-Message-State: APjAAAUjAgPhqng4jqyYXjfiYiUcKDJ6VepAr1GuLGKOTgi+ZruB/XjO FTRlN11My60rLsxtX2ihPXSIOo3P X-Google-Smtp-Source: APXvYqxE4x84B5Fbqj9/PPkGzeLKEUj+EfRJAmzregkHkT7u35IX6iIYPxo0hce44Y0Mej4bcaCgBA== X-Received: by 2002:a2e:9c09:: with SMTP id s9mr28699445lji.74.1558817010589; Sat, 25 May 2019 13:43:30 -0700 (PDT) Received: from saturn.lan (18.158-248-194.customer.lyse.net. [158.248.194.18]) by smtp.gmail.com with ESMTPSA id i187sm1328569lfe.64.2019.05.25.13.43.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 25 May 2019 13:43:29 -0700 (PDT) From: Sam Ravnborg To: dri-devel@lists.freedesktop.org Date: Sat, 25 May 2019 22:43:14 +0200 Message-Id: <20190525204319.28977-1-sam@ravnborg.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=8FEa7021EScyRFJ8JQgdSHDcUZj2MgIq0nWLWijSyIk=; b=oZ8EZVP0M/vmkFHx4FwWQaoWF6GBOA0s+gJ97uKbk5mcpyumpLpD1Lt+dXMdB6qzkT 2sEZkVHMrxs3Ww4vXcq0suTvVQag/khaxPsMYkH7cmzJhFyLwIZGSbLS+x5ai7bQSKqO vcWOKxP5oJRKFcgCoFca5ivjOlaO4YSN2aDAQsZZsr9dd5qaU8xE9ZXRI0c3gO02fSqz M2Eg95R4lxlpi+j8/y6lSrXXJG7xV+sHUHMNUQEOzc9mqlLdB2zf8M3BR9xAIs+fbXLz ScdzUzoQaHZxlbvbwDn+QGSVIYr2Oxgj79t9WDAxv+HvcBj69IFSEXUqFzX7KQqHowK4 XZtw== Subject: [Intel-gfx] [PATCH v3 0/5] drm/gma500: drop use of drmP.h X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , intel-gfx@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Virus-Scanned: ClamAV using ClamSMTP Just a quick (final) probe. If there are no further feedback I will commit this set sunday. Added intel-gfx@lists.freedesktop.org just to get a bit more coverage. The following patchset remove use of the deprecated drmP.h header file in the gma500 driver. As preparation an empty header file is removed and a dependency on drm_os_linux.h is dropped. The local header files are made more self-contained to allow them to be included in alphabetical order in the files where they are used. When removing drmP.h the include files are divided up in blocks: \#include \#include \#include \#include "" Within each block the include files are sorted alphabetically Build tested with allmodconfig and allyesconfig for x86, arm, alpha and more. Patchset made on top of drm-misc-next v2: - Be consitent in dividing includes files into blocks - Sort all include files, not only the blocks touched - Made local header files more self-contained To allow them to be included in alphabetically order v3: - Collect acks from Daniel and Patrik Sam Sam Ravnborg (5): drm/gma500: remove empty gma_drm.h header file drm/gma500: drop drmP.h from header files drm/gma500: make local header files more self-contained drm/gma500: drop use of DRM_UDELAY wrapper drm/gma500: drop drmp.h include from all .c files drivers/gpu/drm/gma500/accel_2d.c | 18 +++++++-------- drivers/gpu/drm/gma500/blitter.h | 2 ++ drivers/gpu/drm/gma500/cdv_device.c | 13 ++++++----- drivers/gpu/drm/gma500/cdv_device.h | 4 ++++ drivers/gpu/drm/gma500/cdv_intel_crt.c | 8 +++---- drivers/gpu/drm/gma500/cdv_intel_display.c | 10 ++++---- drivers/gpu/drm/gma500/cdv_intel_dp.c | 9 ++++---- drivers/gpu/drm/gma500/cdv_intel_hdmi.c | 9 ++++---- drivers/gpu/drm/gma500/cdv_intel_lvds.c | 9 ++++---- drivers/gpu/drm/gma500/framebuffer.c | 24 +++++++++---------- drivers/gpu/drm/gma500/framebuffer.h | 1 - drivers/gpu/drm/gma500/gem.c | 5 ++-- drivers/gpu/drm/gma500/gma_device.c | 1 - drivers/gpu/drm/gma500/gma_device.h | 1 + drivers/gpu/drm/gma500/gma_display.c | 12 +++++++--- drivers/gpu/drm/gma500/gma_display.h | 3 +++ drivers/gpu/drm/gma500/gtt.c | 5 ++-- drivers/gpu/drm/gma500/gtt.h | 1 - drivers/gpu/drm/gma500/intel_bios.c | 6 ++--- drivers/gpu/drm/gma500/intel_bios.h | 3 +-- drivers/gpu/drm/gma500/intel_gmbus.c | 11 +++++---- drivers/gpu/drm/gma500/intel_i2c.c | 4 +++- drivers/gpu/drm/gma500/mdfld_device.c | 16 +++++++------ drivers/gpu/drm/gma500/mdfld_dsi_dpi.c | 4 +++- drivers/gpu/drm/gma500/mdfld_dsi_output.c | 12 ++++++---- drivers/gpu/drm/gma500/mdfld_dsi_output.h | 8 +++---- drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.c | 4 +++- drivers/gpu/drm/gma500/mdfld_intel_display.c | 11 +++++---- drivers/gpu/drm/gma500/mdfld_tmd_vid.c | 2 ++ drivers/gpu/drm/gma500/mid_bios.c | 5 ++-- drivers/gpu/drm/gma500/mid_bios.h | 1 + drivers/gpu/drm/gma500/mmu.c | 6 +++-- drivers/gpu/drm/gma500/oaktrail.h | 2 ++ drivers/gpu/drm/gma500/oaktrail_crtc.c | 8 ++++--- drivers/gpu/drm/gma500/oaktrail_device.c | 20 ++++++++-------- drivers/gpu/drm/gma500/oaktrail_hdmi.c | 8 ++++--- drivers/gpu/drm/gma500/oaktrail_lvds.c | 6 ++--- drivers/gpu/drm/gma500/oaktrail_lvds_i2c.c | 11 ++++----- drivers/gpu/drm/gma500/power.h | 4 +++- drivers/gpu/drm/gma500/psb_device.c | 12 +++++----- drivers/gpu/drm/gma500/psb_drv.c | 33 +++++++++++++++++---------- drivers/gpu/drm/gma500/psb_drv.h | 16 ++++++------- drivers/gpu/drm/gma500/psb_intel_display.c | 7 +++--- drivers/gpu/drm/gma500/psb_intel_lvds.c | 5 ++-- drivers/gpu/drm/gma500/psb_intel_modes.c | 2 +- drivers/gpu/drm/gma500/psb_intel_sdvo.c | 15 ++++++------ drivers/gpu/drm/gma500/psb_irq.c | 9 ++++---- drivers/gpu/drm/gma500/psb_irq.h | 2 +- drivers/gpu/drm/gma500/psb_lid.c | 6 ++--- drivers/gpu/drm/gma500/tc35876x-dsi-lvds.c | 13 +++++++---- include/drm/gma_drm.h | 25 -------------------- 51 files changed, 233 insertions(+), 199 deletions(-)