1. 19 10月, 2015 5 次提交
  2. 16 10月, 2015 17 次提交
  3. 07 10月, 2015 1 次提交
  4. 06 10月, 2015 1 次提交
    • T
      drm/irq: Use unsigned int pipe in public API · 88e72717
      Thierry Reding 提交于
      This continues the pattern started in commit cc1ef118 ("drm/irq:
      Make pipe unsigned and name consistent"). This is applied to the public
      APIs and driver callbacks, so pretty much all drivers need to be updated
      to match the new prototypes.
      
      Cc: Christian König <christian.koenig@amd.com>
      Cc: Alex Deucher <alexander.deucher@amd.com>
      Cc: Russell King <rmk+kernel@arm.linux.org.uk>
      Cc: Inki Dae <inki.dae@samsung.com>
      Cc: Jianwei Wang <jianwei.wang.chn@gmail.com>
      Cc: Alison Wang <alison.wang@freescale.com>
      Cc: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
      Cc: Daniel Vetter <daniel.vetter@intel.com>
      Cc: Jani Nikula <jani.nikula@linux.intel.com>
      Cc: Philipp Zabel <p.zabel@pengutronix.de>
      Cc: David Airlie <airlied@linux.ie>
      Cc: Rob Clark <robdclark@gmail.com>
      Cc: Ben Skeggs <bskeggs@redhat.com>
      Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
      Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
      Cc: Mark Yao <mark.yao@rock-chips.com>
      Cc: Benjamin Gaignard <benjamin.gaignard@linaro.org>
      Cc: Vincent Abriou <vincent.abriou@st.com>
      Cc: Thomas Hellstrom <thellstrom@vmware.com>
      Signed-off-by: NThierry Reding <treding@nvidia.com>
      Reviewed-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      88e72717
  5. 05 10月, 2015 2 次提交
  6. 02 10月, 2015 1 次提交
    • L
      vga_switcheroo: Add missing locking · 8f12a311
      Lukas Wunner 提交于
      The following functions iterate over the client list, invoke client
      callbacks or invoke handler callbacks without locking anything at all:
      
      - Introduced by c8e9cf7b ("vga_switcheroo: Add a helper function to
        get the client state"):
        vga_switcheroo_get_client_state()
      
      - Introduced by 0d69704a ("gpu/vga_switcheroo: add driver control
        power feature. (v3)"):
        vga_switcheroo_set_dynamic_switch()
        vga_switcheroo_runtime_suspend()
        vga_switcheroo_runtime_resume()
        vga_switcheroo_runtime_resume_hdmi_audio()
      
      Refactor vga_switcheroo_runtime_resume_hdmi_audio() a bit to be able to
      release vgasr_mutex immediately after iterating over the client list.
      Signed-off-by: NLukas Wunner <lukas@wunner.de>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      8f12a311
  7. 01 10月, 2015 3 次提交
  8. 30 9月, 2015 8 次提交
    • D
      drm/i915: Remove setparam ioctl · c668cde5
      Daniel Vetter 提交于
      This was only used for the ums+gem combo, so ripe for removal now that
      we only have kms code left.
      
      v2: Drop fence_reg_start since it's now unused, noticed by Ville.
      
      Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
      Reviewed-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
      Acked-by: NChris Wilson <chris@chris-wilson.co.uk>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      c668cde5
    • D
      drm: Remove dummy agp ioctl wrappers · 0731c65a
      Daniel Vetter 提交于
      They're only used in the drm ioctl table, and there they're excluded
      when AGP support is disabled. So this is just dead code ripe for
      removal.
      Reviewed-by: NDavid Herrmann <dh.herrmann@gmail.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@intel.com>
      0731c65a
    • D
      drm/vmwgfx: Stop checking for DRM_UNLOCKED · 87698c8a
      Daniel Vetter 提交于
      drm core enforces now for DRIVER_MODESET that all ioctls are unlocked.
      And all the old nasty ones from drm core aren't allowed for modern
      drivers any more. Hence this is no longer needed.
      Reviewed-by: NDavid Herrmann <dh.herrmann@gmail.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@intel.com>
      87698c8a
    • D
      drm/drm_ioctl.c: kerneldoc · 0aaf20cf
      Daniel Vetter 提交于
      As usual pull it into the drm docbook template, too. And again as
      usual I've decided to only document stuff exported to drivers, so all
      the old leftover markup from the shared drm repo days lost the magic
      ** signature.
      Reviewed-by: NDavid Herrmann <dh.herrmann@gmail.com>
      Reviewed-by: NChristian König <christian.koenig@amd.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@intel.com>
      0aaf20cf
    • D
      drm: Define a drm_invalid_op ioctl implementation · 4b63539b
      Daniel Vetter 提交于
      And use it in radeon to replace all the ioctls no longer valid in kms
      mode. I plan to also use this later on when nuking the ums support for
      i915.
      
      Note that setting the function pointer in the ioctl table to NULL
      would amount to the same, but that results in some debug output from
      the drm_ioctl() function. I've figured it's cleaner to have a
      special-purpose function.
      
      Cc: Alex Deucher <alexdeucher@gmail.com>
      Reviewed-by: NDavid Herrmann <dh.herrmann@gmail.com>
      Reviewed-by: NChristian König <christian.koenig@amd.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      4b63539b
    • D
      drm: Remove __OS_HAS_AGP · a7fb8a23
      Daniel Vetter 提交于
      We already express the drm/agp depencies correctly in Kconfig, so we
      can rip this remnant from the shared drm core days.
      
      Aside: Pretty much all the #ifdefs in radeon/nouveau could be killed
      if ttm would provide dummy functions. I'm not going to volunteer for
      that though.
      
      v2: Use IS_ENABLED(CONFIG_AGP) as suggested by Ville
      
      v3: Polish from Ville's review.
      
      Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
      Reviewed-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
      Reviewed-by: Christian König <christian.koenig@amd.com> (v2)
      Reviewed-by: NDavid Herrmann <dh.herrmann@gmail.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      a7fb8a23
    • D
      drm/doc: Update docs about device instance setup · 6e3f797c
      Daniel Vetter 提交于
      ->load is deprecated, bus functions are deprecated and everyone
      should use drm_dev_alloc&register.
      
      So update the .tmpl (and pull a bunch of the overview docs into the
      sourcecode to increase chances that it'll stay in sync in the future)
      and add notes to functions which are deprecated. I didn't bother to
      clean up and document the unload sequence similarly since that one is
      still a bit a mess: drm_dev_unregister does way too much,
      drm_unplug_dev does what _unregister should be doing but then has the
      complication of promising something it doesn't actually do (it doesn't
      unplug existing open fds for instance, only prevents new ones).
      
      Motivated since I don't want to hunt every new driver for usage of
      drm_platform_init any more ;-)
      
      v2: Reword the deprecation note for ->load a bit, using Laurent's
      suggestion as an example (but making the wording a bit stronger even).
      Fix spelling in commit message.
      
      v3: More spelling fixes from Laurent.
      
      Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
      Cc: David Herrmann <dh.herrmann@gmail.com>
      Acked-by: David Herrmann <dh.herrmann@gmail.com> (v2)
      Signed-off-by: NDaniel Vetter <daniel.vetter@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      6e3f797c
    • D
      Merge tag 'topic/drm-misc-2015-09-25' of git://anongit.freedesktop.org/drm-intel into drm-next · 2d4df13c
      Dave Airlie 提交于
      Another attempt at drm-misc for 4.4 ...
      - better atomic helpers for runtime pm drivers
      - atomic fbdev
      - dp aux i2c STATUS_UPDATE handling (for short i2c replies from the sink)
      - bunch of constify patches
      - inital kerneldoc for vga switcheroo
      - some vblank code cleanups from Ville and Thierry
      - various polish all over
      
      * tag 'topic/drm-misc-2015-09-25' of git://anongit.freedesktop.org/drm-intel: (57 commits)
        drm/irq: Add drm_crtc_vblank_count_and_time()
        drm/irq: Rename drm_crtc -> crtc
        drm: drm_atomic_crtc_get_property should be static
        drm/gma500: Remove DP_LINK_STATUS_SIZE redefinition
        vga_switcheroo: Set active attribute to false for audio clients
        drm/core: Preserve the fb id on close.
        drm/core: Preserve the framebuffer after removing it.
        drm: Use vblank timestamps to guesstimate how many vblanks were missed
        drm: store_vblank() is never called with NULL timestamp
        drm: Clean up drm_calc_vbltimestamp_from_scanoutpos() vbl_status
        drm: Limit the number of .get_vblank_counter() retries
        drm: Pass flags to drm_update_vblank_count()
        drm/i915: Fix vblank count variable types
        drm: Kill pixeldur_ns
        drm: Stop using linedur_ns and pixeldur_ns for vblank timestamps
        drm: Move timestamping constants into drm_vblank_crtc
        drm/fbdev: Update legacy plane->fb refcounting for atomic restore
        drm: fix kernel-doc warnings in drm_crtc.h
        vga_switcheroo: Sort headers alphabetically
        drm: Spell vga_switcheroo consistently
        ...
      2d4df13c
  9. 27 9月, 2015 2 次提交