1. 03 8月, 2017 4 次提交
    • J
      drm: arcpgu: Fix module unload · 0c43ff59
      Jose Abreu 提交于
      At module unload we are expecting a struct drm_device but at
      probing we are not setting it right. Fix this and correct the
      arcpgu module unload.
      Signed-off-by: NJose Abreu <joabreu@synopsys.com>
      Fixes: 0c4250e7b15e ("drm: Add support of ARC PGU display controller")
      Cc: Carlos Palminha <palminha@synopsys.com>
      Cc: Alexey Brodkin <abrodkin@synopsys.com>
      Cc: Daniel Vetter <daniel.vetter@intel.com>
      Cc: Dave Airlie <airlied@gmail.com>
      Signed-off-by: NAlexey Brodkin <abrodkin@synopsys.com>
      0c43ff59
    • J
      drm: arcpgu: Fix mmap() callback · a8f8fb20
      Jose Abreu 提交于
      Now that ARC properly supports DMA mmap() we can use the standard
      CMA helper to map dumb buffers. This makes ARC PGU works with
      standard DRM consumer applications like, for example, mpv/mplayer
      via DRM. While at it, use the DEFINE_DRM_GEM_CMA_FOPS() helper.
      
      This fixes the use of dumb buffers.
      Signed-off-by: NJose Abreu <joabreu@synopsys.com>
      Fixes: 0c4250e7b15e ("drm: Add support of ARC PGU display controller")
      Cc: Carlos Palminha <palminha@synopsys.com>
      Cc: Alexey Brodkin <abrodkin@synopsys.com>
      Cc: Daniel Vetter <daniel.vetter@intel.com>
      Cc: Dave Airlie <airlied@gmail.com>
      Signed-off-by: NAlexey Brodkin <abrodkin@synopsys.com>
      a8f8fb20
    • A
      arcpgu: Simplify driver name · 429ff616
      Alexey Brodkin 提交于
      This very minor change is still useful because it aligns
      ARC PGU driver name with other DRM drivers and makes usage of
      that driver name a bit easier.
      
      For example in libdrm's test app we'll use "arcpgu" instead of
      a bit more ugly "drm-arcpgu".
      Signed-off-by: NAlexey Brodkin <abrodkin@synopsys.com>
      Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
      429ff616
    • A
      drm/arcpgu: Opt in debugfs · 13eee770
      Alexey Brodkin 提交于
      This change adopts debugfs usage for outputting useful data.
      As of today we print:
       * Mode and real HW clock values
       * Standard FB info
      
      Code is heavily borrowed from ARM's HDLCD thus adding Liviu in Cc.
      Signed-off-by: NAlexey Brodkin <abrodkin@synopsys.com>
      Reviewed-by: NLiviu Dudau <Liviu.Dudau@arm.com>
      Cc: Daniel Vetter <daniel@ffwll.ch>
      Cc: David Airlie <airlied@linux.ie>
      Cc: Jose Abreu <joabreu@synopsys.com>
      13eee770
  2. 02 8月, 2017 6 次提交
  3. 27 7月, 2017 4 次提交
    • A
      drm/amdgpu: fix header on gfx9 clear state · 799c7b20
      Alex Deucher 提交于
      This got missed when we open sourced this.
      Reviewed-by: NChristian König <christian.koenig@amd.com>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      Cc: stable@vger.kernel.org
      799c7b20
    • S
      drm: linux-next: build failure after merge of the drm-misc tree · e6742e10
      Stephen Rothwell 提交于
      Hi all,
      
      After merging the drm-misc tree, today's linux-next build (x86_64
      allmodconfig) failed like this:
      
      drivers/staging/vboxvideo/vbox_drv.c:235:2: error: unknown field 'set_busid' specified in initializer
        .set_busid = drm_pci_set_busid,
        ^
      drivers/staging/vboxvideo/vbox_drv.c:235:15: error: 'drm_pci_set_busid' undeclared here (not in a function)
        .set_busid = drm_pci_set_busid,
                     ^
      drivers/staging/vboxvideo/vbox_drv.c: In function 'vbox_init':
      drivers/staging/vboxvideo/vbox_drv.c:273:9: error: implicit declaration of function 'drm_pci_init' [-Werror=implicit-function-declaration]
        return drm_pci_init(&driver, &vbox_pci_driver);
               ^
      drivers/staging/vboxvideo/vbox_drv.c: In function 'vbox_exit':
      drivers/staging/vboxvideo/vbox_drv.c:278:2: error: implicit declaration of function 'drm_pci_exit' [-Werror=implicit-function-declaration]
        drm_pci_exit(&driver, &vbox_pci_driver);
        ^
      
      Caused by commits
      
        5c484cee ("drm: Remove drm_driver->set_busid hook")
        10631d72 ("drm/pci: Deprecate drm_pci_init/exit completely")
      
      interacting with commit
      
        dd55d44f ("staging: vboxvideo: Add vboxvideo to drivers/staging")
      
      from the staging.current tree.
      
      I have applied the following merge fix patch - please check that it
      is correct.
      
      From: Stephen Rothwell <sfr@canb.auug.org.au>
      Date: Wed, 19 Jul 2017 11:41:01 +1000
      Subject: [PATCH] drm: fixes for staging due to API changes in the drm core
      Signed-off-by: NStephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      e6742e10
    • D
      Backmerge tag 'v4.13-rc2' into drm-next · 0eb2c0ae
      Dave Airlie 提交于
      Linux 4.13-rc2
      
      This is required for drm-misc fixing.
      0eb2c0ae
    • D
      Merge tag 'drm-misc-next-2017-07-26' of git://anongit.freedesktop.org/git/drm-misc into drm-next · 542aefb5
      Dave Airlie 提交于
      drm-misc-next-2017-07-18:
      Core Changes:
      - A couple fixes to only opening crc when needed (Maarten)
      - Change atomic helper swap_state to be interruptible (Maarten)
      - fb_helper: Support waiting for an output before setting up (Daniel)
      - Allow drivers supporting runtime_pm to use helper_commit_tail (Maxime)
      
      Driver Changes:
      - misc: Use %pOF to print device node names (Rob)
      - Miscellaneous fixes
      
      drm-misc-next-2017-07-18:
      UAPI Changes:
      - Fail commits which request an event without including a crtc (Andrey)
      
      Core Changes:
      - Add YCBCR 4:2:0 support (Shashank)
      - s/drm_atomic_replace_property_blob/drm_property_replace_blob/ (Peter)
      - Add proper base class for private objs instead of using void* (Ville)
      - Remove pending_read/write_domains from drm_gem_object (Chris)
      - Add async plane update support (ie: cursor) to atomic helpers (Gustavo)
      - Add old state to .enable and rename to .atomic_enable (Laurent)
      - Add drm_atomic_helper_wait_for_flip_done() (Boris)
      - Remove drm_driver->set_busid hook (Daniel)
      - Migrate vblank documentation into the source files (Daniel)
      - Add fb_helper->lock instead of abusing modeset lock (Thierry/Daniel)
      
      Driver Changes:
      - stm: Add STM32 DSI controller driver (Phillipe)
      - amdgpu: Numerous small/misc fixes
      - bridge: Add Synopsys Designware MIPI DSI host bridge driver (Phillipe)
      - tinydrm: Add support for Pervasive Displays RePaper displays (Noralf)
      - misc: Replace for_each_[obj]_in_state to prep for removal (Maarten)
      - misc: Use .atomic_disable for atomic drivers (Laurent)
      - vgem: Pin pages when mapped/exported (Chris)
      - dw_hdmi: Add support for Rockchip RK3399 (Mark)
      - atmel-hlcdc: Add 8-bit color look-up table format (Peter)
      - vc4: Send vblank event when disabling a crtc (Boris)
      - vc4: Use atomic helpers for fence waits (Eric)
      - misc: drop drm_vblank_cleanup cargo-cult (Daniel)
      
      Cc: Daniel Vetter <daniel.vetter@intel.com>
      Cc: Boris Brezillon <boris.brezillon@free-electrons.com>
      Cc: Eric Anholt <eric@anholt.net>
      Cc: Peter Rosin <peda@axentia.se>
      Cc: Mark Yao <mark.yao@rock-chips.com>
      Cc: Chris Wilson <chris@chris-wilson.co.uk>
      Cc: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com>
      Cc: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
      Cc: Gustavo Padovan <gustavo.padovan@collabora.com>
      Cc: Thierry Reding <treding@nvidia.com>
      Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
      Cc: Peter Rosin <peda@axentia.se>
      Cc: Shashank Sharma <shashank.sharma@intel.com>
      Cc: Philippe CORNU <philippe.cornu@st.com>
      Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
      Cc: Rob Herring <robh@kernel.org>
      Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
      
      * tag 'drm-misc-next-2017-07-26' of git://anongit.freedesktop.org/git/drm-misc: (171 commits)
        drm/hisilicon: fix build error without fbdev emulation
        drm/atomic: implement drm_atomic_helper_commit_tail for runtime_pm users
        drm: Improve kerneldoc for drm_modeset_lock
        drm/hisilicon: Remove custom FB helper deferred setup
        drm/exynos: Remove custom FB helper deferred setup
        drm/fb-helper: Support deferred setup
        dma-fence: Don't BUG_ON when not absolutely needed
        drm: Convert to using %pOF instead of full_name
        drm/syncobj: Fix kerneldoc
        drm/atomic: Allow drm_atomic_helper_swap_state to fail
        drm/atomic: Add __must_check to drm_atomic_helper_swap_state.
        drm/vc4: Handle drm_atomic_helper_swap_state failure
        drm/tilcdc: Handle drm_atomic_helper_swap_state failure
        drm/tegra: Handle drm_atomic_helper_swap_state failure
        drm/msm: Handle drm_atomic_helper_swap_state failure
        drm/mediatek: Handle drm_atomic_helper_swap_state failure
        drm/i915: Handle drm_atomic_helper_swap_state failure
        drm/atmel-hlcdc: Handle drm_atomic_helper_swap_state failure
        drm/nouveau: Handle drm_atomic_helper_swap_state failure
        drm/atomic: Change drm_atomic_helper_swap_state to return an error.
        ...
      542aefb5
  4. 26 7月, 2017 26 次提交
新手
引导
客服 返回
顶部