All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/14] drm: Fix a bunch of sparse warnings
@ 2016-09-19 13:33 ville.syrjala
  2016-09-19 13:33 ` [PATCH 01/14] drm/atomic-helper: Fix " ville.syrjala
                   ` (13 more replies)
  0 siblings, 14 replies; 25+ messages in thread
From: ville.syrjala @ 2016-09-19 13:33 UTC (permalink / raw)
  To: dri-devel

From: Ville Syrjälä <ville.syrjala@linux.intel.com>

I got a bit fed up from the sparse noise during a full build,
so I tried to shut some of it up. Mostly missing statics or function
declarations.

I didn't touch the main offender (radeon/amdgpu) since there was enough
of this stuff in the other drivers as well. Nouveau was pretty bad too,
but it was spread around mode so I didn't realize how much there was
until I was already half way through. If I had, I probably wouldn't
have bothered. There's still a bunch of warnings left in many of the
drivers (__mmio type of stuff is probably responsible for most of it).

Entire series avaialable here:
git://github.com/vsyrjala/linux.git drm_sparse_warn

Ville Syrjälä (14):
  drm/atomic-helper: Fix sparse warnings
  drm/blend: Fix sparse warnings
  drm/fb-helper: Fix sparse warnings
  drm/arm: Fix sparse warnings
  drm/ast: Fix sparse warnings
  drm/bochs: Fix sparse warnings
  drm/cirrus: Fix sparse warnings
  drm/mgag200: Fix sparse warnings
  drm/msm: Fix sparse warnings
  drm/nouveau: Fix sparse warnings
  drm/rockchip: Fix sparse warnings
  drm/sti: Fix sparse warnings
  drm/sun4i: Fix sparse warnings
  drm/tilcdc: Fix sparse warnings

 drivers/gpu/drm/arm/malidp_planes.c                |  6 ++--
 drivers/gpu/drm/ast/ast_drv.c                      |  2 +-
 drivers/gpu/drm/ast/ast_ttm.c                      |  2 +-
 drivers/gpu/drm/bochs/bochs_kms.c                  |  2 +-
 drivers/gpu/drm/bochs/bochs_mm.c                   |  2 +-
 drivers/gpu/drm/cirrus/cirrus_drv.c                |  2 +-
 drivers/gpu/drm/cirrus/cirrus_ttm.c                |  2 +-
 drivers/gpu/drm/drm_atomic_helper.c                |  2 +-
 drivers/gpu/drm/drm_blend.c                        |  2 +-
 drivers/gpu/drm/drm_crtc_helper_internal.h         |  7 ++++
 drivers/gpu/drm/drm_fb_helper.c                    |  2 ++
 drivers/gpu/drm/mgag200/mgag200_drv.c              |  2 +-
 drivers/gpu/drm/mgag200/mgag200_ttm.c              |  2 +-
 drivers/gpu/drm/msm/mdp/mdp4/mdp4_lcdc_encoder.c   |  2 +-
 drivers/gpu/drm/msm/mdp/mdp4/mdp4_plane.c          |  2 +-
 drivers/gpu/drm/msm/mdp/mdp5/mdp5_cfg.c            | 12 +++----
 drivers/gpu/drm/msm/msm_fb.c                       |  2 +-
 drivers/gpu/drm/nouveau/dispnv04/overlay.c         |  2 +-
 drivers/gpu/drm/nouveau/nouveau_connector.c        |  2 +-
 drivers/gpu/drm/nouveau/nouveau_display.c          |  2 +-
 drivers/gpu/drm/nouveau/nv10_fence.c               |  2 +-
 drivers/gpu/drm/nouveau/nvif/client.c              |  2 +-
 drivers/gpu/drm/nouveau/nvkm/core/firmware.c       |  1 +
 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c  |  2 +-
 .../gpu/drm/nouveau/nvkm/engine/disp/channv50.c    |  8 ++---
 drivers/gpu/drm/nouveau/nvkm/engine/disp/coreg94.c |  2 +-
 .../gpu/drm/nouveau/nvkm/engine/disp/coregp104.c   |  2 +-
 .../gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c    |  2 +-
 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.c  |  2 +-
 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chang84.c |  4 +--
 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf117.c  |  2 +-
 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm107.c  |  2 +-
 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv50.c   |  1 +
 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c     |  4 +--
 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf117.c     |  4 +--
 drivers/gpu/drm/nouveau/nvkm/engine/gr/gm107.c     |  2 +-
 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c      |  4 +--
 drivers/gpu/drm/nouveau/nvkm/engine/pm/gf100.c     |  2 +-
 drivers/gpu/drm/nouveau/nvkm/subdev/bios/fan.c     |  4 +--
 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.c    |  2 +-
 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c  |  8 ++---
 drivers/gpu/drm/nouveau/nvkm/subdev/fb/sddr2.c     |  1 +
 drivers/gpu/drm/nouveau/nvkm/subdev/fb/sddr3.c     |  1 +
 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/gk104.c   |  2 +-
 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c      |  2 +-
 .../gpu/drm/nouveau/nvkm/subdev/iccsense/base.c    |  2 +-
 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/base.c |  4 +--
 drivers/gpu/drm/nouveau/nvkm/subdev/mc/g84.c       |  2 +-
 .../gpu/drm/nouveau/nvkm/subdev/secboot/gm200.c    |  2 +-
 drivers/gpu/drm/nouveau/nvkm/subdev/volt/gk104.c   |  4 +--
 drivers/gpu/drm/nouveau/nvkm/subdev/volt/gm20b.c   |  4 +--
 drivers/gpu/drm/nouveau/nvkm/subdev/volt/gpio.c    |  1 +
 drivers/gpu/drm/rockchip/rockchip_drm_drv.c        |  4 +--
 drivers/gpu/drm/rockchip/rockchip_drm_fbdev.c      |  1 +
 drivers/gpu/drm/sti/sti_compositor.c               |  4 +--
 drivers/gpu/drm/sti/sti_cursor.c                   |  2 +-
 drivers/gpu/drm/sti/sti_drv.c                      |  2 +-
 drivers/gpu/drm/sti/sti_dvo.c                      |  3 +-
 drivers/gpu/drm/sti/sti_gdp.c                      |  6 ++--
 drivers/gpu/drm/sti/sti_hqvdp.c                    |  7 ++--
 drivers/gpu/drm/sti/sti_mixer.c                    |  2 +-
 drivers/gpu/drm/sti/sti_tvout.c                    |  1 +
 drivers/gpu/drm/sti/sti_vtac.c                     |  2 ++
 drivers/gpu/drm/sti/sti_vtg.c                      |  3 +-
 drivers/gpu/drm/sun4i/sun4i_tv.c                   | 38 +++++++++++-----------
 drivers/gpu/drm/tilcdc/tilcdc_drv.c                |  4 +--
 drivers/gpu/drm/tilcdc/tilcdc_panel.c              |  3 +-
 drivers/gpu/drm/tilcdc/tilcdc_tfp410.c             |  3 +-
 include/drm/drm_fb_helper.h                        |  5 ---
 69 files changed, 127 insertions(+), 109 deletions(-)

-- 
2.7.4

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2016-09-22 20:29 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-19 13:33 [PATCH 00/14] drm: Fix a bunch of sparse warnings ville.syrjala
2016-09-19 13:33 ` [PATCH 01/14] drm/atomic-helper: Fix " ville.syrjala
2016-09-19 13:33 ` [PATCH 02/14] drm/blend: " ville.syrjala
2016-09-20  6:52   ` Laurent Pinchart
2016-09-19 13:33 ` [PATCH 03/14] drm/fb-helper: " ville.syrjala
2016-09-19 14:46   ` Daniel Vetter
2016-09-19 13:33 ` [PATCH 04/14] drm/arm: " ville.syrjala
2016-09-20  8:06   ` Liviu Dudau
2016-09-20 12:44     ` Liviu Dudau
2016-09-19 13:33 ` [PATCH 05/14] drm/ast: " ville.syrjala
2016-09-19 13:33 ` [PATCH 06/14] drm/bochs: " ville.syrjala
2016-09-19 13:33 ` [PATCH 07/14] drm/cirrus: " ville.syrjala
2016-09-19 13:33 ` [PATCH 08/14] drm/mgag200: " ville.syrjala
2016-09-19 13:33 ` [PATCH 09/14] drm/msm: " ville.syrjala
2016-09-19 13:52   ` Emil Velikov
2016-09-19 15:33     ` Jani Nikula
2016-09-19 16:01       ` Emil Velikov
2016-09-19 13:33 ` [PATCH 10/14] drm/nouveau: " ville.syrjala
2016-09-19 13:33 ` [PATCH 11/14] drm/rockchip: " ville.syrjala
2016-09-19 13:33 ` [PATCH 12/14] drm/sti: " ville.syrjala
2016-09-19 14:52   ` Vincent ABRIOU
2016-09-19 13:33 ` [PATCH 13/14] drm/sun4i: " ville.syrjala
2016-09-19 19:54   ` Maxime Ripard
2016-09-19 13:33 ` [PATCH 14/14] drm/tilcdc: " ville.syrjala
2016-09-22 20:29   ` Jyri Sarha

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.