1. 13 Jan, 2014 4 commits
    • Martin Koegler's avatar
      drm/cirrus: Fix cirrus drm driver for fbdev + qemu · 99d4a8ae
      Martin Koegler authored
      Xorg fbdev driver requires smem_start/smem_len, otherwise
      it tries to map 0 bytes as video memory.
      
      Bugzilla: https://bugzilla.novell.com/show_bug.cgi?id=856760Signed-off-by: default avatarMartin Koegler <martin.koegler@chello.at>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      99d4a8ae
    • Dave Airlie's avatar
      Merge branch 'exynos-drm-next' of... · ca2a2bb1
      Dave Airlie authored
      Merge branch 'exynos-drm-next' of git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos into drm-next
      
      This pull request adds an anon file for exynos specific mmaper
      to resolve potential a dead lock issue pointed out by Al Viro,
      and fixes build break of drm-next.
      
      * 'exynos-drm-next' of git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos:
        drm/exynos: fix build error caused by removed drm core macros
        drm/exynos: use a new anon file for exynos gem mmaper
      ca2a2bb1
    • Dave Airlie's avatar
      Merge branch 'drm-next-3.14-wip' of git://people.freedesktop.org/~agd5f/linux into drm-next · e95d9f95
      Dave Airlie authored
      This is the drm-next pull for radeon for 3.14. Highlights include:
      - dpm rework which fixes some issues and allows us to enable dpm by
      default on CIK parts
      - enable clockgating on CIK parts
      - pci config reset.  This is a bus-level chip reset that can be more
      reliable than soft reset in certain cases.  Disabled by default.  Enable
      with the hard_reset module option.
      - big endian rptr/wrptr update fixes
      - lots of debugfs improvements
      - some driver cleanup patches from Rashika Kheria
      - bug fixes
      
      * 'drm-next-3.14-wip' of git://people.freedesktop.org/~agd5f/linux: (50 commits)
        drm/radeon: implement pci config reset for CIK (v3)
        drm/radeon: implement pci config reset for SI (v2)
        drm/radeon: implement pci config reset for evergreen/cayman (v2)
        drm/radeon: implement pci config reset for r6xx/7xx (v3)
        drm/radeon: add pci config hard reset
        drm/radeon: add hard_reset module parameter
        drm/radeon: skip colorbuffer checking if COLOR_INFO.FORMAT is set to INVALID
        radeon/pm: Guard access to rdev->pm.power_state array
        drivers: gpu: Move prototype declarations to header file radeon_mode.h from radeon_atombios.c and radeon_combios.c
        drivers: gpu: Move prototype declaration to header file radeon_mode.h
        drm/radeon: move com/atombios scratch reg functions to radeon_mode.h
        drm/radeon/dpm: make some functions static for TN
        drm/radeon/dpm: make some functions static for sumo
        drm/radeon/dpm: make some functions static for CI
        drivers: gpu: Include appropriate header file in ci_smc.c
        drivers: gpu: Move prototype declaration to header file radeon_mode.h from atombios_i2c.c
        drivers: gpu: Include appropriate header file in si_smc.c and remove prototype declaration from header file sislands_smc.h
        drivers: gpu: Add static keyword to the definition of KMS_INVALID_IOCTL in radeon_kms.c
        drivers: gpu: Mark function as static in r600_hdmi.c
        drivers: gpu: Mark function as static in radeon_gem.c
        ...
      e95d9f95
    • Dave Airlie's avatar
      Merge branch 'msm-next' of git://people.freedesktop.org/~robclark/linux into drm-next · feb5cde6
      Dave Airlie authored
      MSM tree from Rob.
      
      * 'msm-next' of git://people.freedesktop.org/~robclark/linux:
        drm/msm: add a330/apq8x74
        drm/msm: add mdp5/apq8x74
        drm/msm: add hdmi support for apq8x74/mdp5
        drm/msm: move irq utils to mdp_kms
        drm/msm: split out msm_kms.h
        drm/msm: mdp4_format -> mdp_format
        drm/msm: resync generated headers
        drm/msm: move mdp4 -> mdp/mdp4
        drm/msm: add support for msm8060ab/bstem
        drm/msm: add support for non-IOMMU systems
        drm/msm: fix bus scaling
        drm/msm: add missing MODULE_FIRMWARE()s
        drm/msm: COMPILE_TEST support
      feb5cde6
  2. 09 Jan, 2014 13 commits
    • Rob Clark's avatar
      drm/msm: add a330/apq8x74 · 55459968
      Rob Clark authored
      Add support for adreno 330.  Not too much different, just a few
      differences in initial configuration plus setting OCMEM base.
      Userspace support is already in upstream mesa.
      
      Note that the existing DT code is simply using the bindings from
      downstream android kernel, to simplify porting of this driver to
      existing devices.  These do not constitute any committed/stable
      DT ABI.  The addition of proper DT bindings will be a subsequent
      patch, at which point (as best as possible) I will try to support
      either upstream bindings or what is found in downstream android
      kernel, so that existing device DT files can be used.
      Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
      55459968
    • Rob Clark's avatar
      drm/msm: add mdp5/apq8x74 · 06c0dd96
      Rob Clark authored
      Add support for the new MDP5 display controller block.  The mapping
      between parts of the display controller and KMS is:
      
        plane   -> PIPE{RGBn,VIGn}             \
        crtc    -> LM (layer mixer)            |-> MDP "device"
        encoder -> INTF                        /
        connector -> HDMI/DSI/eDP/etc          --> other device(s)
      
      Unlike MDP4, it appears we can get by with a single encoder, rather
      than needing a different implementation for DTV, DSI, etc.  (Ie. the
      register interface is same, just different bases.)
      
      Also unlike MDP4, all the IRQs for other blocks (HDMI, DSI, etc) are
      routed through MDP.
      
      And finally, MDP5 has this "Shared Memory Pool" (called "SMP"), from
      which blocks need to be allocated to the active pipes based on fetch
      stride.
      Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
      06c0dd96
    • Rob Clark's avatar
      drm/msm: add hdmi support for apq8x74/mdp5 · dada25bd
      Rob Clark authored
      The HDMI block is basically the same between older SoC's with mdp4
      display controller, and newer ones with mdp5.
      
      So mostly this consists of better abstracting out the different sets of
      regulators, clks, etc.  In particular, for regulators and clks we can
      split it up by what is needed for hot plug detect to work, and what is
      needed to light up the display.
      
      Also, 8x74 has a new phy.. a very simple one, but split out into a
      different mmio space.  And with mdp5, the irq is shared with mdp, so we
      don't directly register our own irq handler.
      Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
      dada25bd
    • Rob Clark's avatar
      drm/msm: move irq utils to mdp_kms · 9e0efa63
      Rob Clark authored
      We'll want basically the same thing for mdp5, so refactor it out so it
      can be shared.
      Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
      9e0efa63
    • Rob Clark's avatar
      drm/msm: split out msm_kms.h · dd2da6e3
      Rob Clark authored
      Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
      dd2da6e3
    • Rob Clark's avatar
      drm/msm: mdp4_format -> mdp_format · 10a02eb6
      Rob Clark authored
      This can be shared between mdp4 and mdp5.  Both use the same set of
      parameters to describe the format to the hw.
      Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
      10a02eb6
    • Rob Clark's avatar
      drm/msm: resync generated headers · facb4f4e
      Rob Clark authored
      resync to latest envytools db, add mdp5 registers
      Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
      facb4f4e
    • Rob Clark's avatar
      drm/msm: move mdp4 -> mdp/mdp4 · 2e54a92f
      Rob Clark authored
      There are some little bits and pieces that mdp4 and mdp5 can share, so
      move things around so that we can have both in a common parent
      directory.
      Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
      2e54a92f
    • Rob Clark's avatar
      drm/msm: add support for msm8060ab/bstem · e529c7e6
      Rob Clark authored
      This adds the necessary configuration for the APQ8060A SoC (dual-core
      krait + a320 gpu) as found on the bstem board.
      Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
      e529c7e6
    • Rob Clark's avatar
      drm/msm: add support for non-IOMMU systems · 871d812a
      Rob Clark authored
      Add a VRAM carveout that is used for systems which do not have an IOMMU.
      
      The VRAM carveout uses CMA.  The arch code must setup a CMA pool for the
      device (preferrably in highmem.. a 256m-512m VRAM pool in lowmem is not
      cool).  The user can configure the VRAM pool size using msm.vram module
      param.
      
      Technically, the abstraction of IOMMU behind msm_mmu is not strictly
      needed, but it simplifies the GEM code a bit, and will be useful later
      when I add support for a2xx devices with GPUMMU, so I decided to keep
      this part.
      
      It appears to be possible to configure the GPU to restrict access to
      addresses within the VRAM pool, but this is not done yet.  So for now
      the GPU will refuse to load if there is no sort of mmu.  Once address
      based limits are supported and tested to confirm that we aren't giving
      the GPU access to arbitrary memory, this restriction can be lifted
      Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
      871d812a
    • Rob Clark's avatar
      drm/msm: fix bus scaling · bf2b33af
      Rob Clark authored
      This got a bit broken with original patches when re-arranging things to
      move dependencies on mach-msm inside #ifndef OF.
      Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
      bf2b33af
    • Rob Clark's avatar
      drm/msm: add missing MODULE_FIRMWARE()s · 3b57f23b
      Rob Clark authored
      Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
      3b57f23b
    • Rob Clark's avatar
      drm/msm: COMPILE_TEST support · 3083894f
      Rob Clark authored
      With a simple stub, we can get COMPILE_TEST support.
      Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
      3083894f
  3. 08 Jan, 2014 8 commits
  4. 07 Jan, 2014 15 commits
    • Rashika Kheria's avatar
      drivers: gpu: Move prototype declarations to header file radeon_mode.h from... · 0091fc13
      Rashika Kheria authored
      drivers: gpu: Move prototype declarations to header file radeon_mode.h from radeon_atombios.c and radeon_combios.c
      
      Move prototype declarations of functions radeon_get_encoder_enum() and
      radeon_link_encoder_connector() to header file drm/radeon/radeon_mode.h
      because they are used by more than one file.
      
      This eliminates the following warnings in drm/radeon/radeon_encoders.c:
      drivers/gpu/drm/radeon/radeon_encoders.c:86:1: warning: no previous prototype for ‘radeon_get_encoder_enum’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/radeon_encoders.c:162:1: warning: no previous prototype for ‘radeon_link_encoder_connector’ [-Wmissing-prototypes]
      Signed-off-by: default avatarRashika Kheria <rashika.kheria@gmail.com>
      Reviewed-by: default avatarJosh Triplett <josh@joshtriplett.org>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      0091fc13
    • Rashika Kheria's avatar
      drivers: gpu: Move prototype declaration to header file radeon_mode.h · a38eab52
      Rashika Kheria authored
      Move prototype declaration of functions radeon_add_atom_connector() and
      radeon_add_legacy_connector() to header file drm/radeon/radeon_mode.h
      because  they are used by more than one file.
      
      This eliminates the following warning in drm/radeon/radeon_connectors.c:
      drivers/gpu/drm/radeon/radeon_connectors.c:1588:1: warning: no previous prototype for ‘radeon_add_atom_connector’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/radeon_connectors.c:2020:1: warning: no previous prototype for ‘radeon_add_legacy_connector’ [-Wmissing-prototypes]
      Signed-off-by: default avatarRashika Kheria <rashika.kheria@gmail.com>
      Reviewed-by: default avatarJosh Triplett <josh@joshtriplett.org>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      a38eab52
    • Alex Deucher's avatar
      drm/radeon: move com/atombios scratch reg functions to radeon_mode.h · 84ac68e0
      Alex Deucher authored
      fixes warnings with -Wmissing-prototypes
      
      Based on initial patches from Rashika Kheria.
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      Cc: Rashika Kheria <rashika.kheria@gmail.com>
      84ac68e0
    • Alex Deucher's avatar
      drm/radeon/dpm: make some functions static for TN · fbb74bce
      Alex Deucher authored
      Noticed by Rashika Kheria and cherry-picked from
      her larger patch set.
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      Cc: Rashika Kheria <rashika.kheria@gmail.com>
      fbb74bce
    • Alex Deucher's avatar
      drm/radeon/dpm: make some functions static for sumo · 3b5da5ce
      Alex Deucher authored
      Noticed by Rashika Kheria and cherry-picked from
      her larger patch set.
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      Cc: Rashika Kheria <rashika.kheria@gmail.com>
      3b5da5ce
    • Alex Deucher's avatar
      drm/radeon/dpm: make some functions static for CI · 9a04dad3
      Alex Deucher authored
      Noticed by Rashika Kheria and cherry-picked from
      her larger patch set.
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      Cc: Rashika Kheria <rashika.kheria@gmail.com>
      9a04dad3
    • Rashika Kheria's avatar
      drivers: gpu: Include appropriate header file in ci_smc.c · b4fcab37
      Rashika Kheria authored
      Include header file drm/radeon/ci_dpm.h in drm/radeon/ci_smc.c because
      it uses function declared in the header file.
      
      This eliminates the following warnings in drm/radeon/ci_smc.c:
      drivers/gpu/drm/radeon/ci_smc.c:46:5: warning: no previous prototype for ‘ci_copy_bytes_to_smc’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/ci_smc.c:113:6: warning: no previous prototype for ‘ci_start_smc’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/ci_smc.c:121:6: warning: no previous prototype for ‘ci_reset_smc’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/ci_smc.c:129:5: warning: no previous prototype for ‘ci_program_jump_on_start’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/ci_smc.c:136:6: warning: no previous prototype for ‘ci_stop_smc_clock’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/ci_smc.c:145:6: warning: no previous prototype for ‘ci_start_smc_clock’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/ci_smc.c:154:6: warning: no previous prototype for ‘ci_is_smc_running’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/ci_smc.c:165:14: warning: no previous prototype for ‘ci_send_msg_to_smc’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/ci_smc.c:186:14: warning: no previous prototype for ‘ci_wait_for_smc_inactive’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/ci_smc.c:204:5: warning: no previous prototype for ‘ci_load_smc_ucode’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/ci_smc.c:251:5: warning: no previous prototype for ‘ci_read_smc_sram_dword’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/ci_smc.c:266:5: warning: no previous prototype for ‘ci_write_smc_sram_dword’ [-Wmissing-prototypes]
      Signed-off-by: default avatarRashika Kheria <rashika.kheria@gmail.com>
      Reviewed-by: default avatarJosh Triplett <josh@joshtriplett.org>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      b4fcab37
    • Rashika Kheria's avatar
      drivers: gpu: Move prototype declaration to header file radeon_mode.h from atombios_i2c.c · 4cf3b494
      Rashika Kheria authored
      Move prototype declaration of function radeon_atom_copy_swap() to header
      file drm/radeon/radeon_mode.h because it is used by more than one file.
      
      This eliminates the following warnings in drm/radeon/atombios_dp.c:
      drivers/gpu/drm/radeon/atombios_dp.c:53:6: warning: no previous prototype for ‘radeon_atom_copy_swap’ [-Wmissing-prototypes]
      Signed-off-by: default avatarRashika Kheria <rashika.kheria@gmail.com>
      Reviewed-by: default avatarJosh Triplett <josh@joshtriplett.org>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      4cf3b494
    • Rashika Kheria's avatar
      drivers: gpu: Include appropriate header file in si_smc.c and remove prototype... · 6c149d96
      Rashika Kheria authored
      drivers: gpu: Include appropriate header file in si_smc.c and remove prototype declaration from header file sislands_smc.h
      
      Include header file gpu/drm/radeon/sislands_smc.h in drm/radeon/si_smc.c
      because it uses function declared in the header file.
      
      Remove prototype declaration of function si_set_smc_sram_address() from
      drm/radeon/sislands_smc.h because the function is used only in one file
      where it is declared static already.
      
      This eliminates the following warnings in drm/radeon/si_smc.c:
      drivers/gpu/drm/radeon/si_smc.c:46:5: warning: no previous prototype for ‘si_copy_bytes_to_smc’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/si_smc.c:112:6: warning: no previous prototype for ‘si_start_smc’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/si_smc.c:121:6: warning: no previous prototype for ‘si_reset_smc’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/si_smc.c:135:5: warning: no previous prototype for ‘si_program_jump_on_start’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/si_smc.c:142:6: warning: no previous prototype for ‘si_stop_smc_clock’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/si_smc.c:151:6: warning: no previous prototype for ‘si_start_smc_clock’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/si_smc.c:160:6: warning: no previous prototype for ‘si_is_smc_running’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/si_smc.c:171:14: warning: no previous prototype for ‘si_send_msg_to_smc’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/si_smc.c:192:14: warning: no previous prototype for ‘si_wait_for_smc_inactive’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/si_smc.c:210:5: warning: no previous prototype for ‘si_load_smc_ucode’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/si_smc.c:269:5: warning: no previous prototype for ‘si_read_smc_sram_dword’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/si_smc.c:284:5: warning: no previous prototype for ‘si_write_smc_sram_dword’ [-Wmissing-prototypes]
      Signed-off-by: default avatarRashika Kheria <rashika.kheria@gmail.com>
      Reviewed-by: default avatarJosh Triplett <josh@joshtriplett.org>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      6c149d96
    • Rashika Kheria's avatar
      drivers: gpu: Add static keyword to the definition of KMS_INVALID_IOCTL in radeon_kms.c · f6e2e407
      Rashika Kheria authored
      Add static keyword to the definition of KMS_INVALID_IOCTL(name) in
      radeon_kms.c because the functions passed to it as arguments are not
      used anywhere else.
      
      This eliminates the following warnings in drm/radeon/radeon_kms.c:
      drivers/gpu/drm/radeon/radeon_kms.c:719:1: warning: no previous prototype for ‘radeon_cp_init_kms’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/radeon_kms.c:720:1: warning: no previous prototype for ‘radeon_cp_start_kms’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/radeon_kms.c:721:1: warning: no previous prototype for ‘radeon_cp_stop_kms’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/radeon_kms.c:722:1: warning: no previous prototype for ‘radeon_cp_reset_kms’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/radeon_kms.c:723:1: warning: no previous prototype for ‘radeon_cp_idle_kms’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/radeon_kms.c:724:1: warning: no previous prototype for ‘radeon_cp_resume_kms’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/radeon_kms.c:725:1: warning: no previous prototype for ‘radeon_engine_reset_kms’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/radeon_kms.c:726:1: warning: no previous prototype for ‘radeon_fullscreen_kms’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/radeon_kms.c:727:1: warning: no previous prototype for ‘radeon_cp_swap_kms’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/radeon_kms.c:728:1: warning: no previous rototype for ‘radeon_cp_clear_kms’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/radeon_kms.c:729:1: warning: no previous prototype for ‘radeon_cp_vertex_kms’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/radeon_kms.c:730:1: warning: no previous rototype for ‘radeon_cp_indices_kms’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/radeon_kms.c:731:1: warning: no previous prototype for ‘radeon_cp_texture_kms’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/radeon_kms.c:732:1: warning: no previous prototype for ‘radeon_cp_stipple_kms’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/radeon_kms.c:733:1: warning: no previous prototype for ‘radeon_cp_indirect_kms’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/radeon_kms.c:734:1: warning: no previous prototype for ‘radeon_cp_vertex2_kms’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/radeon_kms.c:735:1: warning: no previous prototype for ‘radeon_cp_cmdbuf_kms’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/radeon_kms.c:736:1: warning: no previous prototype for ‘radeon_cp_getparam_kms’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/radeon_kms.c:737:1: warning: no previous prototype for ‘radeon_cp_flip_kms’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/radeon_kms.c:738:1: warning: no previous prototype for ‘radeon_mem_alloc_kms’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/radeon_kms.c:739:1: warning: no previous prototype for ‘radeon_mem_free_kms’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/radeon_kms.c:740:1: warning: no previous rototype for ‘radeon_mem_init_heap_kms’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/radeon_kms.c:741:1: warning: no previous rototype for ‘radeon_irq_emit_kms’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/radeon_kms.c:742:1: warning: no previous prototype for ‘radeon_irq_wait_kms’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/radeon_kms.c:743:1: warning: no previous rototype for ‘radeon_cp_setparam_kms’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/radeon_kms.c:744:1: warning: no previous prototype for ‘radeon_surface_alloc_kms’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/radeon_kms.c:745:1: warning: no previous prototype for ‘radeon_surface_free_kms’ [-Wmissing-prototypes]
      Signed-off-by: default avatarRashika Kheria <rashika.kheria@gmail.com>
      Reviewed-by: default avatarJosh Triplett <josh@joshtriplett.org>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      f6e2e407
    • Rashika Kheria's avatar
      drivers: gpu: Mark function as static in r600_hdmi.c · 27b83179
      Rashika Kheria authored
      Mark function r600_audio_set_dto() as static in drm/radeon/r600_hdmi.c
      because it is not used outside this file.
      
      This eliminates the following warning in drm/radeon/r600_hdmi.c:
      drivers/gpu/drm/radeon/r600_hdmi.c:253:6: warning: no previous prototype for ‘r600_audio_set_dto’ [-Wmissing-prototypes]
      Signed-off-by: default avatarRashika Kheria <rashika.kheria@gmail.com>
      Reviewed-by: default avatarJosh Triplett <josh@joshtriplett.org>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      27b83179
    • Rashika Kheria's avatar
      drivers: gpu: Mark function as static in radeon_gem.c · 248a6c4a
      Rashika Kheria authored
      Mark function radeon_gem_set_domain() as static in
      drm/radeon/radeon_gem.c because it is not used outside this file.
      
      This eliminates the following warning in drm/radeon/radeon_gem.c:
      drivers/gpu/drm/radeon/radeon_gem.c:89:5: warning: no previous prototype for ‘radeon_gem_set_domain’ [-Wmissing-prototypes]
      Signed-off-by: default avatarRashika Kheria <rashika.kheria@gmail.com>
      Reviewed-by: default avatarJosh Triplett <josh@joshtriplett.org>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      248a6c4a
    • Rashika Kheria's avatar
      drivers: gpu: Mark function as static in radeon_kms.c · 5520345f
      Rashika Kheria authored
      Mark function radeon_info_ioctl() as static in drm/radeon/radeon_kms.c
      because it is not used outside this file.
      
      This eliminates the following warning in drm/radeon/radeon_kms.c:
      drivers/gpu/drm/radeon/radeon_kms.c:194:5: warning: no previous prototype for ‘radeon_info_ioctl’ [-Wmissing-prototypes]
      Signed-off-by: default avatarRashika Kheria <rashika.kheria@gmail.com>
      Reviewed-by: default avatarJosh Triplett <josh@joshtriplett.org>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      5520345f
    • Rashika Kheria's avatar
      drivers: gpu: Mark functions as static in radeon_device.c · 28f5a6cd
      Rashika Kheria authored
      Mark functions radeon_doorbell_init() and radeon_doorbell_fini() as
      static in drm/radeon/radeon_device.c because they are not used outside
      this file.
      
      This eliminates the following warning in drm/radeon/radeon_device.c:
      drivers/gpu/drm/radeon/radeon_device.c:252:5: warning: no previous prototype for ‘radeon_doorbell_init’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/radeon_device.c:281:6: warning: no previous prototype for ‘radeon_doorbell_fini’ [-Wmissing-prototypes]
      Signed-off-by: default avatarRashika Kheria <rashika.kheria@gmail.com>
      Reviewed-by: default avatarJosh Triplett <josh@joshtriplett.org>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      28f5a6cd
    • Rashika Kheria's avatar
      drivers: gpu: Mark function as static in radeon_object.c · 2f43651c
      Rashika Kheria authored
      Mark function radeon_bo_clear_va() as static in
      drm/radeon/radeon_object.c because it is not used outside this file.
      
      This eliminates the following warning in drm/radeon/radeon_object.c:
      drivers/gpu/drm/radeon/radeon_object.c:49:6: warning: no previous prototype for ‘radeon_bo_clear_va’ [-Wmissing-prototypes]
      Signed-off-by: default avatarRashika Kheria <rashika.kheria@gmail.com>
      Reviewed-by: default avatarJosh Triplett <josh@joshtriplett.org>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      2f43651c