[PATCH v1 0/7] drm/radeon: drop obsolete header files

Alex Deucher alexdeucher at gmail.com
Mon Jun 10 19:11:36 UTC 2019


On Sat, Jun 8, 2019 at 4:03 AM Sam Ravnborg <sam at ravnborg.org> wrote:
>
> This patchset contains updates to two header files
> in include/drm/.
> The header files caused build errors due to missing dependencies.
> Fixed this so others will not be hit by the same.
>
> The header file drm_os_linux.h is deprecated and should
> no longer be used.
> For radeon it was a simple 1:1 replacement of the
> used macros + a adding missing include files.
>
> The remaining patches perpare for and remove the use
> of drmP.h in the rest of the driver.
>
> The patches was all build tested on various architectures,
> and as usual alpha resulted in a few extra build issues.
>
> The patches are made on top of drm-misc-next, but applies
> clean to drm-next-5.3-wip branch of the agd5f git tree.

Series is:
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

Feel free to take it through drm-misc if you want, otherwise, let me
know and I'll take it through my tree.

Alex

>
>         Sam
>
> Sam Ravnborg (7):
>       drm: drm_crtc.h self-contained
>       drm: drm_debugfs.h self-contained
>       drm/radeon: drop dependency on drm_os_linux.h
>       drm/radeon: drop drmP.h from header files
>       drm/radeon: prepare header files for drmP.h removal
>       drm/radeon: drop use of drmP.h (1/2)
>       drm/radeon: drop use of drmP.h (2/2)
>
>  drivers/gpu/drm/radeon/atom.c                   |  2 ++
>  drivers/gpu/drm/radeon/atom.h                   |  1 -
>  drivers/gpu/drm/radeon/atombios_crtc.c          |  7 +++--
>  drivers/gpu/drm/radeon/atombios_dp.c            |  2 +-
>  drivers/gpu/drm/radeon/atombios_encoders.c      | 14 ++++++----
>  drivers/gpu/drm/radeon/atombios_i2c.c           |  2 +-
>  drivers/gpu/drm/radeon/btc_dpm.c                | 16 ++++++-----
>  drivers/gpu/drm/radeon/btc_dpm.h                |  3 +++
>  drivers/gpu/drm/radeon/ci_dpm.c                 | 14 +++++-----
>  drivers/gpu/drm/radeon/ci_dpm.h                 |  1 +
>  drivers/gpu/drm/radeon/ci_smc.c                 |  2 +-
>  drivers/gpu/drm/radeon/cik.c                    | 18 ++++++++-----
>  drivers/gpu/drm/radeon/cik_sdma.c               |  6 ++---
>  drivers/gpu/drm/radeon/clearstate_cayman.h      |  2 ++
>  drivers/gpu/drm/radeon/clearstate_ci.h          |  2 ++
>  drivers/gpu/drm/radeon/clearstate_si.h          |  2 ++
>  drivers/gpu/drm/radeon/cypress_dpm.c            | 11 ++++----
>  drivers/gpu/drm/radeon/dce3_1_afmt.c            |  2 +-
>  drivers/gpu/drm/radeon/dce6_afmt.c              |  2 +-
>  drivers/gpu/drm/radeon/evergreen.c              | 16 ++++++-----
>  drivers/gpu/drm/radeon/evergreen_cs.c           |  2 +-
>  drivers/gpu/drm/radeon/evergreen_dma.c          |  2 +-
>  drivers/gpu/drm/radeon/evergreen_hdmi.c         |  2 +-
>  drivers/gpu/drm/radeon/kv_dpm.c                 | 10 ++++---
>  drivers/gpu/drm/radeon/kv_smc.c                 |  2 +-
>  drivers/gpu/drm/radeon/ni.c                     | 17 +++++++-----
>  drivers/gpu/drm/radeon/ni_dma.c                 |  2 +-
>  drivers/gpu/drm/radeon/ni_dpm.c                 | 16 ++++++-----
>  drivers/gpu/drm/radeon/r100.c                   | 36 ++++++++++++++-----------
>  drivers/gpu/drm/radeon/r100_track.h             |  2 ++
>  drivers/gpu/drm/radeon/r200.c                   |  2 +-
>  drivers/gpu/drm/radeon/r300.c                   | 18 ++++++++-----
>  drivers/gpu/drm/radeon/r420.c                   | 16 +++++++----
>  drivers/gpu/drm/radeon/r520.c                   |  4 +--
>  drivers/gpu/drm/radeon/r600.c                   | 18 ++++++++-----
>  drivers/gpu/drm/radeon/r600_cs.c                |  2 +-
>  drivers/gpu/drm/radeon/r600_dma.c               |  6 ++---
>  drivers/gpu/drm/radeon/r600_dpm.c               |  2 +-
>  drivers/gpu/drm/radeon/r600_dpm.h               |  2 ++
>  drivers/gpu/drm/radeon/r600_hdmi.c              |  2 +-
>  drivers/gpu/drm/radeon/radeon_acpi.c            | 13 +++++----
>  drivers/gpu/drm/radeon/radeon_agp.c             |  8 ++++--
>  drivers/gpu/drm/radeon/radeon_asic.c            | 10 ++++---
>  drivers/gpu/drm/radeon/radeon_atombios.c        |  5 +++-
>  drivers/gpu/drm/radeon/radeon_audio.c           |  2 +-
>  drivers/gpu/drm/radeon/radeon_benchmark.c       |  2 +-
>  drivers/gpu/drm/radeon/radeon_bios.c            | 12 ++++++---
>  drivers/gpu/drm/radeon/radeon_clocks.c          |  9 ++++---
>  drivers/gpu/drm/radeon/radeon_combios.c         |  5 +++-
>  drivers/gpu/drm/radeon/radeon_connectors.c      |  2 +-
>  drivers/gpu/drm/radeon/radeon_cs.c              | 10 +++++--
>  drivers/gpu/drm/radeon/radeon_cursor.c          |  4 ++-
>  drivers/gpu/drm/radeon/radeon_device.c          | 18 ++++++++-----
>  drivers/gpu/drm/radeon/radeon_display.c         | 21 +++++++++------
>  drivers/gpu/drm/radeon/radeon_dp_auxch.c        |  2 +-
>  drivers/gpu/drm/radeon/radeon_dp_mst.c          |  6 +++--
>  drivers/gpu/drm/radeon/radeon_drv.c             | 19 ++++++++-----
>  drivers/gpu/drm/radeon/radeon_encoders.c        |  5 +++-
>  drivers/gpu/drm/radeon/radeon_fb.c              | 13 ++++-----
>  drivers/gpu/drm/radeon/radeon_fence.c           | 16 +++++++----
>  drivers/gpu/drm/radeon/radeon_gart.c            |  5 +++-
>  drivers/gpu/drm/radeon/radeon_gem.c             |  7 ++++-
>  drivers/gpu/drm/radeon/radeon_i2c.c             |  5 +++-
>  drivers/gpu/drm/radeon/radeon_ib.c              |  5 +++-
>  drivers/gpu/drm/radeon/radeon_irq_kms.c         | 14 +++++++---
>  drivers/gpu/drm/radeon/radeon_kms.c             | 17 +++++++-----
>  drivers/gpu/drm/radeon/radeon_legacy_crtc.c     |  9 ++++---
>  drivers/gpu/drm/radeon/radeon_legacy_encoders.c | 11 +++++---
>  drivers/gpu/drm/radeon/radeon_legacy_tv.c       |  4 ++-
>  drivers/gpu/drm/radeon/radeon_mn.c              |  2 +-
>  drivers/gpu/drm/radeon/radeon_object.c          |  9 ++++---
>  drivers/gpu/drm/radeon/radeon_pm.c              | 17 +++++++-----
>  drivers/gpu/drm/radeon/radeon_prime.c           |  8 +++---
>  drivers/gpu/drm/radeon/radeon_ring.c            |  6 ++++-
>  drivers/gpu/drm/radeon/radeon_sa.c              |  2 +-
>  drivers/gpu/drm/radeon/radeon_semaphore.c       |  2 +-
>  drivers/gpu/drm/radeon/radeon_sync.c            |  2 +-
>  drivers/gpu/drm/radeon/radeon_test.c            |  2 +-
>  drivers/gpu/drm/radeon/radeon_trace.h           |  4 +--
>  drivers/gpu/drm/radeon/radeon_trace_points.c    |  2 +-
>  drivers/gpu/drm/radeon/radeon_ttm.c             | 26 +++++++++++-------
>  drivers/gpu/drm/radeon/radeon_ucode.c           |  2 +-
>  drivers/gpu/drm/radeon/radeon_uvd.c             |  2 +-
>  drivers/gpu/drm/radeon/radeon_vce.c             |  4 +--
>  drivers/gpu/drm/radeon/radeon_vm.c              |  2 +-
>  drivers/gpu/drm/radeon/rs400.c                  | 11 +++++---
>  drivers/gpu/drm/radeon/rs600.c                  | 13 ++++++---
>  drivers/gpu/drm/radeon/rs690.c                  |  6 +++--
>  drivers/gpu/drm/radeon/rs780_dpm.c              | 12 +++++----
>  drivers/gpu/drm/radeon/rv515.c                  | 13 ++++++---
>  drivers/gpu/drm/radeon/rv6xx_dpm.c              |  2 +-
>  drivers/gpu/drm/radeon/rv730_dpm.c              |  2 +-
>  drivers/gpu/drm/radeon/rv740_dpm.c              |  2 +-
>  drivers/gpu/drm/radeon/rv770.c                  | 12 ++++++---
>  drivers/gpu/drm/radeon/rv770_dma.c              |  2 +-
>  drivers/gpu/drm/radeon/rv770_dpm.c              |  2 +-
>  drivers/gpu/drm/radeon/rv770_dpm.h              |  1 +
>  drivers/gpu/drm/radeon/rv770_smc.c              |  2 +-
>  drivers/gpu/drm/radeon/si.c                     | 16 ++++++-----
>  drivers/gpu/drm/radeon/si_dma.c                 |  2 +-
>  drivers/gpu/drm/radeon/si_dpm.c                 | 14 +++++-----
>  drivers/gpu/drm/radeon/si_smc.c                 |  2 +-
>  drivers/gpu/drm/radeon/sumo_dpm.c               |  2 +-
>  drivers/gpu/drm/radeon/sumo_dpm.h               |  1 +
>  drivers/gpu/drm/radeon/sumo_smc.c               |  2 +-
>  drivers/gpu/drm/radeon/trinity_dpm.c            | 10 ++++---
>  drivers/gpu/drm/radeon/trinity_smc.c            |  2 +-
>  drivers/gpu/drm/radeon/uvd_v1_0.c               |  4 +--
>  drivers/gpu/drm/radeon/uvd_v2_2.c               |  2 +-
>  drivers/gpu/drm/radeon/uvd_v3_1.c               |  2 +-
>  drivers/gpu/drm/radeon/uvd_v4_2.c               |  2 +-
>  drivers/gpu/drm/radeon/vce_v1_0.c               |  2 +-
>  drivers/gpu/drm/radeon/vce_v2_0.c               |  2 +-
>  include/drm/drm_crtc.h                          |  1 +
>  include/drm/drm_debugfs.h                       |  2 ++
>  115 files changed, 502 insertions(+), 285 deletions(-)
>
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx


More information about the dri-devel mailing list