From: Thomas Zimmermann Subject: Re: [PATCH v1 32/33] drm/ast: drop use of drmP.h Date: Sun, 30 Jun 2019 09:34:49 +0200 Message-ID: <65727066-7d53-3e47-b2cc-389c9505bfc2@suse.de> References: <20190630061922.7254-1-sam@ravnborg.org> <20190630061922.7254-33-sam@ravnborg.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0450598180==" Return-path: Received: from mx1.suse.de (mx2.suse.de [195.135.220.15]) by gabe.freedesktop.org (Postfix) with ESMTPS id 23A5589B20 for ; Sun, 30 Jun 2019 07:34:55 +0000 (UTC) In-Reply-To: <20190630061922.7254-33-sam@ravnborg.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: Sam Ravnborg , dri-devel@lists.freedesktop.org Cc: Sam Bobroff , Daniel Vetter , YueHaibing , Hans de Goede , Huang Rui , Gerd Hoffmann , Alex Deucher , Dave Airlie , =?UTF-8?Q?Christian_K=c3=b6nig?= List-Id: dri-devel@lists.freedesktop.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --===============0450598180== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="xvtNSh3EkxecuCqHoHMH2ljuzSOwEC06y" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --xvtNSh3EkxecuCqHoHMH2ljuzSOwEC06y Content-Type: multipart/mixed; boundary="phMuuBjRx7ssiCue9VnWVo1BcIHiMsEoL"; protected-headers="v1" From: Thomas Zimmermann To: Sam Ravnborg , dri-devel@lists.freedesktop.org Cc: Dave Airlie , Gerd Hoffmann , Alex Deucher , Daniel Vetter , =?UTF-8?Q?Christian_K=c3=b6nig?= , Sam Bobroff , YueHaibing , Huang Rui , "Y.C. Chen" , Hans de Goede Message-ID: <65727066-7d53-3e47-b2cc-389c9505bfc2@suse.de> Subject: Re: [PATCH v1 32/33] drm/ast: drop use of drmP.h References: <20190630061922.7254-1-sam@ravnborg.org> <20190630061922.7254-33-sam@ravnborg.org> In-Reply-To: <20190630061922.7254-33-sam@ravnborg.org> --phMuuBjRx7ssiCue9VnWVo1BcIHiMsEoL Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Acked-by: Thomas Zimmermann Am 30.06.19 um 08:19 schrieb Sam Ravnborg: > Drop use of the deprecated drmP.h header file. > While touching the files divide include files in blocks > and sort the include files in the individual blocks. >=20 > Signed-off-by: Sam Ravnborg > Cc: Dave Airlie > Cc: Sam Ravnborg > Cc: Thomas Zimmermann > Cc: Gerd Hoffmann > Cc: Alex Deucher > Cc: Daniel Vetter > Cc: "Christian K=C3=B6nig" > Cc: Sam Bobroff > Cc: YueHaibing > Cc: Huang Rui > Cc: "Y.C. Chen" > Cc: Hans de Goede > --- > The list of cc: was too large to add all recipients to the cover letter= =2E > Please find cover letter here: > https://lists.freedesktop.org/archives/dri-devel/2019-June/thread.html > Search for "drm: drop use of drmp.h in drm-misc" >=20 > Sam >=20 > drivers/gpu/drm/ast/ast_dp501.c | 5 ++++- > drivers/gpu/drm/ast/ast_drv.c | 9 +++++++-- > drivers/gpu/drm/ast/ast_drv.h | 17 +++++++++-------- > drivers/gpu/drm/ast/ast_fb.c | 20 ++++++++++++-------- > drivers/gpu/drm/ast/ast_main.c | 9 +++++++-- > drivers/gpu/drm/ast/ast_mode.c | 8 ++++++-- > drivers/gpu/drm/ast/ast_post.c | 7 +++++-- > drivers/gpu/drm/ast/ast_ttm.c | 7 ++++++- > 8 files changed, 56 insertions(+), 26 deletions(-) >=20 > diff --git a/drivers/gpu/drm/ast/ast_dp501.c b/drivers/gpu/drm/ast/ast_= dp501.c > index 4c7375b45281..98cd69269263 100644 > --- a/drivers/gpu/drm/ast/ast_dp501.c > +++ b/drivers/gpu/drm/ast/ast_dp501.c > @@ -1,8 +1,11 @@ > // SPDX-License-Identifier: GPL-2.0 > =20 > +#include > #include > -#include > +#include > + > #include "ast_drv.h" > + > MODULE_FIRMWARE("ast_dp501_fw.bin"); > =20 > static int ast_load_dp501_microcode(struct drm_device *dev) > diff --git a/drivers/gpu/drm/ast/ast_drv.c b/drivers/gpu/drm/ast/ast_dr= v.c > index 3811997e78c4..dd120e2d61e9 100644 > --- a/drivers/gpu/drm/ast/ast_drv.c > +++ b/drivers/gpu/drm/ast/ast_drv.c > @@ -25,12 +25,17 @@ > /* > * Authors: Dave Airlie > */ > -#include > + > #include > +#include > +#include > =20 > -#include > #include > +#include > +#include > +#include > #include > +#include > =20 > #include "ast_drv.h" > =20 > diff --git a/drivers/gpu/drm/ast/ast_drv.h b/drivers/gpu/drm/ast/ast_dr= v.h > index ca794a3fcf8f..c0f76aef460b 100644 > --- a/drivers/gpu/drm/ast/ast_drv.h > +++ b/drivers/gpu/drm/ast/ast_drv.h > @@ -28,17 +28,18 @@ > #ifndef __AST_DRV_H__ > #define __AST_DRV_H__ > =20 > -#include > -#include > - > -#include > -#include > - > -#include > - > +#include > +#include > #include > #include > =20 > +#include > +#include > +#include > +#include > +#include > +#include > + > #define DRIVER_AUTHOR "Dave Airlie" > =20 > #define DRIVER_NAME "ast" > diff --git a/drivers/gpu/drm/ast/ast_fb.c b/drivers/gpu/drm/ast/ast_fb.= c > index a849e58b40bc..6343aa92f237 100644 > --- a/drivers/gpu/drm/ast/ast_fb.c > +++ b/drivers/gpu/drm/ast/ast_fb.c > @@ -25,22 +25,26 @@ > /* > * Authors: Dave Airlie > */ > -#include > -#include > + > +#include > #include > -#include > +#include > +#include > #include > -#include > +#include > +#include > +#include > #include > -#include > -#include > - > +#include > +#include > =20 > -#include > #include > #include > #include > +#include > #include > +#include > +#include > #include > =20 > #include "ast_drv.h" > diff --git a/drivers/gpu/drm/ast/ast_main.c b/drivers/gpu/drm/ast/ast_m= ain.c > index 1bd61696e509..b6f8dd040ae7 100644 > --- a/drivers/gpu/drm/ast/ast_main.c > +++ b/drivers/gpu/drm/ast/ast_main.c > @@ -25,12 +25,17 @@ > /* > * Authors: Dave Airlie > */ > -#include > -#include "ast_drv.h" > + > +#include > =20 > #include > #include > +#include > #include > +#include > +#include > + > +#include "ast_drv.h" > =20 > void ast_set_index_reg_mask(struct ast_private *ast, > uint32_t base, uint8_t index, > diff --git a/drivers/gpu/drm/ast/ast_mode.c b/drivers/gpu/drm/ast/ast_m= ode.c > index c48249df758e..9d2789040edb 100644 > --- a/drivers/gpu/drm/ast/ast_mode.c > +++ b/drivers/gpu/drm/ast/ast_mode.c > @@ -27,14 +27,18 @@ > /* > * Authors: Dave Airlie > */ > + > #include > -#include > +#include > + > #include > #include > +#include > +#include > #include > #include > -#include "ast_drv.h" > =20 > +#include "ast_drv.h" > #include "ast_tables.h" > =20 > static struct ast_i2c_chan *ast_i2c_create(struct drm_device *dev); > diff --git a/drivers/gpu/drm/ast/ast_post.c b/drivers/gpu/drm/ast/ast_p= ost.c > index f7d421359d56..e1d9cdf6ec1d 100644 > --- a/drivers/gpu/drm/ast/ast_post.c > +++ b/drivers/gpu/drm/ast/ast_post.c > @@ -26,10 +26,13 @@ > * Authors: Dave Airlie > */ > =20 > -#include > -#include "ast_drv.h" > +#include > +#include > + > +#include > =20 > #include "ast_dram_tables.h" > +#include "ast_drv.h" > =20 > static void ast_post_chip_2300(struct drm_device *dev); > static void ast_post_chip_2500(struct drm_device *dev); > diff --git a/drivers/gpu/drm/ast/ast_ttm.c b/drivers/gpu/drm/ast/ast_tt= m.c > index 779c53efee8e..c52d92294171 100644 > --- a/drivers/gpu/drm/ast/ast_ttm.c > +++ b/drivers/gpu/drm/ast/ast_ttm.c > @@ -25,7 +25,12 @@ > /* > * Authors: Dave Airlie > */ > -#include > + > +#include > + > +#include > +#include > +#include > =20 > #include "ast_drv.h" > =20 >=20 --=20 Thomas Zimmermann Graphics Driver Developer SUSE Linux GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany GF: Felix Imend=C3=B6rffer, Mary Higgins, Sri Rasiah HRB 21284 (AG N=C3=BCrnberg) --phMuuBjRx7ssiCue9VnWVo1BcIHiMsEoL-- --xvtNSh3EkxecuCqHoHMH2ljuzSOwEC06y Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEchf7rIzpz2NEoWjlaA3BHVMLeiMFAl0YZhkACgkQaA3BHVML eiMkLQf/TkXOyMQAiy8LAu0CbuRTIoZMxxGW/USi57VpXMkDhFuaicMo/qYtDE+5 /WcHVvGI5LBx2ZhX8HhfAvObh2yHuipiwui2WVexxWCfW1zgI5/8NV6SsJK0F/im iwmHM9Ysd8Vq0FnONYUlLj5qu7hbxeGq8954KzDTBiSeKnV9Z+SbByfP0Hq4OSCV 4/pkH1IiHTCIp7rLzSGyr0CGLp6RXrx3FCg2LrYxTS3T5cFfyvi0m7FVzLXg/I8g 8lY/mgd30bwESETseJmNIC0Pyq55CBpMCQDxX4jrkgQgn2C6HLAFPJaXIkOxU00J pdr9+DBMeW7Ckd29mhiFnQXVmQr9Uw== =V87U -----END PGP SIGNATURE----- --xvtNSh3EkxecuCqHoHMH2ljuzSOwEC06y-- --===============0450598180== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0450598180==--