11 Nov, 2015

1 commit

  • Pull drm updates from Dave Airlie:
    "I Was Almost Tempted To Capitalise Every Word, but then I decided I
    couldn't read it myself!

    I've also got one pull request for the sti driver outstanding. It
    relied on a commit in Greg's tree and I didn't find out in time, that
    commit is in your tree now so I might send that along once this is
    merged.

    I also had the accidental misfortune to have access to a Skylake on my
    desk for a few days, and I've had to encourage Intel to try harder,
    which seems to be happening now.

    Here is the main drm-next pull request for 4.4.

    Highlights:

    New driver:
    vc4 driver for the Rasberry Pi VPU.
    (From Eric Anholt at Broadcom.)

    Core:
    Atomic fbdev support
    Atomic helpers for runtime pm
    dp/aux i2c STATUS_UPDATE handling
    struct_mutex usage cleanups.
    Generic of probing support.

    Documentation:
    Kerneldoc for VGA switcheroo code.
    Rename to gpu instead of drm to reflect scope.

    i915:
    Skylake GuC firmware fixes
    HPD A support
    VBT backlight fallbacks
    Fastboot by default for some systems
    FBC work
    BXT/SKL workarounds
    Skylake deeper sleep state fixes

    amdgpu:
    Enable GPU scheduler by default
    New atombios opcodes
    GPUVM debugging options
    Stoney support.
    Fencing cleanups.

    radeon:
    More efficient CS checking

    nouveau:
    gk20a instance memory handling improvements.
    Improved PGOB detection and GK107 support
    Kepler GDDR5 PLL statbility improvement
    G8x/GT2xx reclock improvements
    new userspace API compatiblity fixes.

    virtio-gpu:
    Add 3D support - qemu 2.5 has it merged for it's gtk backend.

    msm:
    Initial msm88896 (snapdragon 8200)

    exynos:
    HDMI cleanups
    Enable mixer driver byt default
    Add DECON-TV support

    vmwgfx:
    Move to using memremap + fixes.

    rcar-du:
    Add support for R8A7793/4 DU

    armada:
    Remove support for non-component mode
    Improved plane handling
    Power savings while in DPMS off.

    tda998x:
    Remove unused slave encoder support
    Use more HDMI helpers
    Fix EDID read handling

    dwhdmi:
    Interlace video mode support for ipu-v3/dw_hdmi
    Hotplug state fixes
    Audio driver integration

    imx:
    More color formats support.

    tegra:
    Minor fixes/improvements"

    [ Merge fixup: remove unused variable 'dev' that had all uses removed in
    commit 4e270f088011: "drm/gem: Drop struct_mutex requirement from
    drm_gem_mmap_obj" ]

    * 'drm-next' of git://people.freedesktop.org/~airlied/linux: (764 commits)
    drm/vmwgfx: Relax irq locking somewhat
    drm/vmwgfx: Properly flush cursor updates and page-flips
    drm/i915/skl: disable display side power well support for now
    drm/i915: Extend DSL readout fix to BDW and SKL.
    drm/i915: Do graphics device reset under forcewake
    drm/i915: Skip fence installation for objects with rotated views (v4)
    vga_switcheroo: Drop client power state VGA_SWITCHEROO_INIT
    drm/amdgpu: group together common fence implementation
    drm/amdgpu: remove AMDGPU_FENCE_OWNER_MOVE
    drm/amdgpu: remove now unused fence functions
    drm/amdgpu: fix fence fallback check
    drm/amdgpu: fix stoping the scheduler timeout
    drm/amdgpu: cleanup on error in amdgpu_cs_ioctl()
    drm/i915: Fix locking around GuC firmware load
    drm/amdgpu: update Fiji's Golden setting
    drm/amdgpu: update Fiji's rev id
    drm/amdgpu: extract common code in vi_common_early_init
    drm/amd/scheduler: don't oops on failure to load
    drm/amdgpu: don't oops on failure to load (v2)
    drm/amdgpu: don't VT switch on suspend
    ...

    Linus Torvalds
     

07 Nov, 2015

1 commit

  • Pull sound updates from Takashi Iwai:
    "Here is the first batch of updates for sound system on 4.4-rc1.

    Again at this time, the update looks fairly calm; no big changes in
    either ALSA core or ASoC infrastructures, rather all small cleanups,
    in addition to the new stuff as usual.

    The biggest changes are about Firewire sound devices. It gained lots
    of new device support, and MIDI functionality. Also there are updates
    for a few still working-in-progress stuff (topology API and ASoC
    skylake), too. But overall, this update should give no big surprise.

    Some highlights are below:

    Core:
    - A few more Kconfig items for tinification; it's marked as EXPERT,
    so normal user should't be bothered :)
    - Refactoring with a new PCM hw_constraint helper
    - Removal of unused transfer_ack_{begin,end} PCM callbacks

    Firewire:
    - Restructuring of code subtree, lots of refactoring
    - Support AMDTP variants
    - New driver for Digidesign 002/003 family
    - Adds support for TASCAM FireOne to ALSA OXFW driver
    - Add MIDI support to TASCAM and Digi00x devices

    HD-Audio:
    - Automated modalias generation for codec drivers, finally
    - Improvement on heuristics for setting mixer name
    - A few fixes for longstanding bugs on Creative CA0132 cards
    - Addition of audio rate callback with i915 communication
    - Fix suspend issue on recent Dell XPS
    - Intel Lewisburg controller support

    ASoC:
    - Updates to the topology userspace interface
    - Big updates to the Renesas support (rcar)
    - More updates for supporting Intel Sky Lake systems
    - New drivers for Asahi Kasei Microdevices AK4613, Allwinnner A10,
    Cirrus Logic WM8998, Dialog DA7219, Nuvoton NAU8825, Rockchip
    S/PDIF, and Atmel class D amplifier

    USB-Audio:
    - A fix for newer Roland MIDI devices
    - Quirks and workarounds for Zoom R16/24 device

    Misc:
    - A few fixes for some old Cirrus CS46xx PCI sound boards
    - Yet another fixes for some old ESS Maestro3 PCI sound boards"

    * tag 'sound-4.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (330 commits)
    ALSA: hda - Add Intel Lewisburg device IDs Audio
    ALSA: hda - Apply pin fixup for HP ProBook 6550b
    ALSA: hda - Fix lost 4k BDL boundary workaround
    ALSA: maestro3: Fix Allegro mute until master volume/mute is touched
    ALSA: maestro3: Enable docking support for Dell Latitude C810
    ALSA: firewire-digi00x: add another rawmidi character device for MIDI control ports
    ALSA: firewire-digi00x: add MIDI operations for MIDI control port
    ALSA: firewire-digi00x: rename identifiers of MIDI operation for physical ports
    ALSA: cs46xx: Fix suspend for all channels
    ALSA: cs46xx: Fix Duplicate front for CS4294 and CS4298 codecs
    ALSA: DocBook: Add soc-ops.c and soc-compress.c
    ALSA: hda - Add / fix kernel doc comments
    ALSA: Constify ratden/ratnum constraints
    ALSA: hda - Disable 64bit address for Creative HDA controllers
    ALSA: hda/realtek - Dell XPS one ALC3260 speaker no sound after resume back
    ALSA: hda/ca0132 - Convert leftover pr_info() and pr_err()
    ASoC: fsl: Use #ifdef instead of #if for CONFIG_PM_SLEEP
    ASoC: rt5645: Sort the order for register bit defines
    ASoC: dwc: add check for master/slave format
    ASoC: rt5645: Add the HWEQ for the speaker output
    ...

    Linus Torvalds
     

06 Nov, 2015

2 commits

  • Pull documentation update from Jon Corbet:
    "There is a nice new document from Neil on how pathname lookups work
    and some new CAN driver documentation. Beyond that, we have
    kernel-doc fixes, a bit more work to support reproducible builds, and
    the usual collection of small fixes"

    * tag 'docs-for-linus' of git://git.lwn.net/linux: (34 commits)
    Documentation: add new description of path-name lookup.
    Documentation/vm/slub.txt: document slabinfo-gnuplot.sh
    Doc: ABI/stable: Fix typo in ABI/stable
    doc: Clarify that nmi_watchdog param is for hardlockups
    Typo correction for description in gpio document.
    DocBook: Fix kernel-doc to be case-insensitive for private:
    kernel-docs.txt: update kernelnewbies reference
    Doc:kvm: Fix typo in Doc/virtual/kvm
    Documentation/Changes: Add bc in "Current Minimal Requirements" section
    Documentation/email-clients.txt: remove trailing whitespace
    DocBook: Use a fixed encoding for output
    MAINTAINERS: The docs tree has moved
    Docs/kernel-parameters: Add earlycon devicetree usage
    SubmittingPatches: make Subject examples match the de facto standard
    Documentation: gpio: mention that -gpio has been deprecated
    Documentation: cgroups: just fix a few typos
    Documentation: Update kselftest.txt
    Documentation: DMA API: Be more explicit that nents is always the same
    Documentation: Update the default value of crashkernel low
    zram: update documentation
    ...

    Linus Torvalds
     
  • Pull media updates from Mauro Carvalho Chehab:
    "Media updates, including:

    - Lots of improvements at the kABI documentation
    - Split of Videobuf2 into a common part and a V4L2 specific one
    - Split of the VB2 tracing events into a separate header file
    - s5p-mfc got support for Exynos 5433
    - v4l2 fixes for 64-bits alignment when running 32 bits userspace
    on ARM
    - Added support for SDR radio transmitter at core, vivid and hackrf
    drivers
    - Some y2038 fixups
    - Some improvements at V4L2 colorspace support
    - saa7164 converted to use the V4L2 core control framework
    - several new boards additions, cleanups and fixups

    PS: There are two patches for scripts/kernel-doc that are needed by
    the documentation patches on Media. Jon is OK on merging those via
    my tree"

    * tag 'media/v4.4-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (146 commits)
    [media] c8sectpfe: Remove select on CONFIG_FW_LOADER_USER_HELPER_FALLBACK
    [media] DocBook media: update copyright/version numbers
    [media] ivtv: Convert to get_user_pages_unlocked()
    [media] media/v4l2-ctrls: fix setting autocluster to manual with VIDIOC_S_CTRL
    [media] DocBook media: Fix a typo in encoder cmd
    [media] DocBook: add SDR specific info to G_MODULATOR / S_MODULATOR
    [media] DocBook: add SDR specific info to G_TUNER / S_TUNER
    [media] hackrf: do not set human readable name for formats
    [media] hackrf: add support for transmitter
    [media] hackrf: switch to single function which configures everything
    [media] hackrf: add control for RF amplifier
    [media] DocBook: add modulator type field
    [media] v4l: add type field to v4l2_modulator struct
    [media] DocBook: document SDR transmitter
    [media] v4l2: add support for SDR transmitter
    [media] DocBook: document tuner RF gain control
    [media] v4l2: add RF gain control
    [media] v4l2: rename V4L2_TUNER_ADC to V4L2_TUNER_SDR
    [media] media/vivid-osd: fix info leak in ioctl
    [media] media: videobuf2: Move v4l2-specific stuff to videobuf2-v4l2
    ...

    Linus Torvalds
     

05 Nov, 2015

1 commit

  • Pull staging driver updates from Greg KH:
    "Here's the big staging driver update for 4.4-rc1. If you were
    disappointed for 4.3-rc1 that we didn't contribute enough changesets,
    you should be happy with this pull request of over 2400 patches.

    But overall we removed more lines of code than we added, which is nice
    to see. Full details in the shortlog.

    All of these have been in linux-next for a while"

    Greg, I've never been disappointed in how few commits Staging
    contributes to the kernel.. Never.

    * tag 'staging-4.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (2431 commits)
    Staging: rtl8192u: ieee80211: added missing blank lines
    Staging: rtl8192u: ieee80211: removed unnecessary braces
    Staging: rtl8192u: ieee80211: corrected block comments
    Staging: rtl8192u: ieee80211: corrected indent
    Staging: rtl8192u: ieee80211: added missing spaces after if
    Staging: rtl8192u: ieee80211: added missing space around '='
    Staging: rtl8192u: ieee80211: fixed position of else statements
    Staging: rtl8192u: ieee80211: fixed open brace positions
    staging: rdma: ipath: Remove unneeded vairable.
    staging: rtl8188eu: pwrGrpCnt variable removed in store_pwrindex_offset function
    staging: rtl8188eu: new variable for hal_data->MCSTxPowerLevelOriginalOffset[pwrGrpCnt] in store_pwrindex_offset function
    staging: rtl8188eu: checkpatch fixes: 'Avoid CamelCase' in hal/bb_cfg.c
    staging: rtl8188eu: checkpatch fixes: line over 80 characters splited into two parts
    staging: rtl8188eu: checkpatch fixes: alignment should match open parenthesis
    staging: rtl8188eu: checkpatch fixes: unnecessary parentheses removed in hal/bb_cfg.c
    staging: rtl8188eu: checkpatch fixes: spaces preferred around that '|' in hal/bb_cfg.c
    staging: rtl8188eu: operator = replaced by += in loop increment
    staging: rtl8188eu: occurrence of the 5 GHz code marked
    staging: rtl8188eu: increment placed into for loop header
    staging: rtl8188eu: while loop replaced by for loop in rtw_restruct_wmm_ie
    ...

    Linus Torvalds
     

28 Oct, 2015

1 commit


22 Oct, 2015

1 commit

  • While there is nothing wrong with the transfer_ack_begin and
    transfer_ack_end callbacks per-se, the last documented user was part of the
    alsa-driver 0.5.12a package, which was released 14 years ago and even
    predates the upstream integration of the ALSA core and has subsequently
    been superseded by newer alsa-driver releases.

    This seems to indicate that there is no need for having these callbacks and
    they are just cruft that can be removed.

    Signed-off-by: Lars-Peter Clausen
    Signed-off-by: Takashi Iwai

    Lars-Peter Clausen
     

21 Oct, 2015

8 commits


20 Oct, 2015

2 commits

  • More drm-misc for 4.4.
    - fb refcount fix in atomic fbdev
    - various locking reworks to reduce drm_global_mutex and dev->struct_mutex
    - rename docbook to gpu.tmpl and include vga_switcheroo stuff, plus more
    vga_switcheroo (Lukas Wunner)
    - viewport check fixes for atomic drivers from Ville
    - DRM_DEBUG_VBL from Ville
    - non-contentious header fixes from Mikko Rapeli
    - small things all over

    * tag 'topic/drm-misc-2015-10-19' of git://anongit.freedesktop.org/drm-intel: (31 commits)
    drm/fb-helper: Fix fb refcounting in pan_display_atomic
    drm/fb-helper: Set plane rotation directly
    drm: fix mutex leak in drm_dp_get_mst_branch_device
    drm: Check plane src coordinates correctly during page flip for atomic drivers
    drm: Check crtc viewport correctly with rotated primary plane on atomic drivers
    drm: Refactor plane src coordinate checks
    drm: Swap w/h when converting the mode to src coordidates for a rotated primary plane
    drm: Don't leak fb when plane crtc coodinates are bad
    ALSA: hda - Spell vga_switcheroo consistently
    drm/gem: Use kref_get_unless_zero for the weak mmap references
    drm/vgem: Drop vgem_drm_gem_mmap
    drm: Fix return value of drm_framebuffer_init()
    drm/gem: Use container_of in drm_gem_object_free
    drm/gem: Check locking in drm_gem_object_unreference
    drm/gem: Drop struct_mutex requirement from drm_gem_mmap_obj
    drm/i810_drm.h: include drm/drm.h
    r128_drm.h: include drm/drm.h
    savage_drm.h: include
    gpu/doc: Convert to markdown harder
    gpu/doc: Add vga_switcheroo documentation
    ...

    Dave Airlie
     
  • - dmc fixes from Animesh (not yet all) for deeper sleep states
    - piles of prep patches from Ville to make mmio functions type-safe
    - more fbc work from Paulo all over
    - w/a shuffling from Arun Siluvery
    - first part of atomic watermark updates from Matt and Ville (later parts had to
    be dropped again unfortunately)
    - lots of patches to prepare bxt dsi support ( Shashank Sharma)
    - userptr fixes from Chris
    - audio rate interface between i915/snd_hda plus kerneldoc (Libin Yang)
    - shrinker improvements and fixes (Chris Wilson)
    - lots and lots of small patches all over

    * tag 'drm-intel-next-2015-10-10' of git://anongit.freedesktop.org/drm-intel: (134 commits)
    drm/i915: Update DRIVER_DATE to 20151010
    drm/i915: Partial revert of atomic watermark series
    drm/i915: Early exit from semaphore_waits_for for execlist mode.
    drm/i915: Remove wrong warning from i915_gem_context_clean
    drm/i915: Determine the stolen memory base address on gen2
    drm/i915: fix FBC buffer size checks
    drm/i915: fix CFB size calculation
    drm/i915: remove pre-atomic check from SKL update_primary_plane
    drm/i915: don't allocate fbcon from stolen memory if it's too big
    Revert "drm/i915: Call encoder hotplug for init and resume cases"
    Revert "drm/i915: Add hot_plug hook for hdmi encoder"
    drm/i915: use error path
    drm/i915/irq: Fix misspelled word register in kernel-doc
    drm/i915/irq: Fix kernel-doc warnings
    drm/i915: Hook up ring workaround writes at context creation time on Gen6-7.
    drm/i915: Don't warn if the workaround list is empty.
    drm/i915: Resurrect golden context on gen6/7
    drm/i915/chv: remove pre-production hardware workarounds
    drm/i915/snb: remove pre-production hardware workaround
    drm/i915/bxt: Set time interval unit to 0.833us
    ...

    Dave Airlie
     

16 Oct, 2015

5 commits

  • Requires Markdown support.

    Signed-off-by: Lukas Wunner
    Signed-off-by: Daniel Vetter

    Lukas Wunner
     
  • Following Daniel's renaming of the document.

    Signed-off-by: Lukas Wunner
    Signed-off-by: Daniel Vetter

    Lukas Wunner
     
  • DRM is a lot more than a direct rendering manager nowadays, and there's
    also a bunch of things worth documenting for gpu driver developers
    outside of drivers/gpu/drm, like vgaarb, vga_switcheroo or the various
    hardware buses like host1x and ipu-v3.

    To avoid further confusion let's rename the top-level to reflect
    reality.

    And yes I'm already looking forward to when we need to replace the G
    in GPU with a * ;-)

    Inspired by a thread with Lukas since he refused to include the
    vga_switcheroo docs into the drm docs because it's not drm.

    Cc: Lukas Wunner
    Signed-off-by: Daniel Vetter
    [Lukas: Drop BUG() easter egg in i915_gem_execbuffer.c spotted by Jani
    and fix typos in commit message.]
    Signed-off-by: Lukas Wunner
    Acked-by: Dave Airlie
    Signed-off-by: Daniel Vetter

    Daniel Vetter
     
  • With the prep patches for i915 all kms drivers either have
    DRM_UNLOCKED on all their ioctls. Or the ioctl always directly returns
    with an invariant return value when in modeset mode. But that's only
    the case for i915 and radeon. The drm core ioctls are unfortunately
    too much a mess still to dare this.

    Follow-up patches will remove DRM_UNLOCKED from all kms drivers to
    prove that this is indeed the case.

    Also update the documentation.

    v2: Really only do this for driver ioctls, spotted by David Herrmann.
    And drop spurious whitespace change.

    Cc: David Herrmann
    Signed-off-by: Daniel Vetter
    Reviewed-by: David Herrmann
    Reviewed-by: Christian König
    Signed-off-by: Daniel Vetter

    Daniel Vetter
     
  • Another round of drm-misc. Unfortunately the DRM_UNLOCKED removal for
    DRIVER_MODESET isn't complete yet for lack of review on 1-2 patches.
    Otherwise just various stuff all over.

    * tag 'topic/drm-misc-2015-10-08' of git://anongit.freedesktop.org/drm-intel:
    drm: Stop using drm_vblank_count() as the hw frame counter
    drm/irq: Use unsigned int pipe in public API
    drm: Use DRM_ROTATE_MASK and DRM_REFLECT_MASK
    drm: Add DRM_ROTATE_MASK and DRM_REFLECT_MASK
    vga_switcheroo: Add missing locking
    vgaarb: use kzalloc in vga_arbiter_add_pci_device()
    drm: Don't zero vblank timestamps from the irq handler
    drm: Hack around CONFIG_AGP=m build failures
    drm/i915: Remove setparam ioctl
    drm: Remove dummy agp ioctl wrappers
    drm/vmwgfx: Stop checking for DRM_UNLOCKED
    drm/drm_ioctl.c: kerneldoc
    drm: Define a drm_invalid_op ioctl implementation
    drm: Remove __OS_HAS_AGP
    drm/doc: Update docs about device instance setup

    Dave Airlie
     

13 Oct, 2015

1 commit

  • For location and connectivity services, userspace would often like
    to know the time when the BSS was last seen. The current "last seen"
    value is calculated in a way that makes it less useful, especially
    if the system suspended in the meantime.

    Add the ability for the driver to report a real CLOCK_BOOTTIME stamp
    that can then be reported to userspace (if present).

    Drivers wishing to use this must be converted to the new API to call
    cfg80211_inform_bss_data() or cfg80211_inform_bss_frame_data(). They
    need to ensure the reported value is accurate enough even when the
    frame might have been buffered in the device (e.g. firmware.)

    Signed-off-by: Dmitry Shmidt
    [modified to use struct, inlines]
    Signed-off-by: Johannes Berg

    Dmitry Shmidt
     

10 Oct, 2015

2 commits


08 Oct, 2015

1 commit


07 Oct, 2015

3 commits

  • Add the item of i915_component.h in DocBook and add the DOC for
    i915_component.h. Explain the struct i915_audio_component_ops and
    struct i915_audio_component_audio_ops usage.

    Signed-off-by: Libin Yang
    Signed-off-by: Daniel Vetter

    Libin Yang
     
  • This enum is not actually used anymore. The only value used from
    the enum is DMX_OK, passed as a parameter on two callbacks.

    Yet, this value is not used anywhere. So, just remove it.

    Signed-off-by: Mauro Carvalho Chehab

    Mauro Carvalho Chehab
     
  • The DocBook/media/dvb/kdapi.xml contains the description of
    the kABI for DVB. The problem is that, by being maintained
    on a separate file and not being updated for years, it got
    outdated. So, for example, some callback parameters were
    changed, but the DocBook were still using the old stuff.

    As a first step to fix it, let's move the documentation of
    struct dmx_demux into demux.h and fix the parameters used
    there.

    For now, don't document any other field nor touch the
    descriptions that got moved, letting this job to other
    patches. That makes easier to review the patch.

    PS.: Please notice that an additional patch will be needed
    in order to fix the return values (some uses non-existent
    return codes) and to the functions and callbacks mentioned at
    the descriptions.

    Signed-off-by: Mauro Carvalho Chehab

    Mauro Carvalho Chehab
     

06 Oct, 2015

2 commits


05 Oct, 2015

2 commits


02 Oct, 2015

1 commit

  • - initialize backlight from VBT as fallback (Jani)
    - hpd A support from Ville
    - various atomic polish all over (mostly from Maarten)
    - first parts of virtualize gpu guest support on bdw from
    Zhiyuan Lv
    - GuC fixes from Alex
    - polish for the chv clocks code (Ville)
    - various things all over, as usual

    * tag 'drm-intel-next-2015-09-11' of git://anongit.freedesktop.org/drm-intel: (145 commits)
    drm/i915: Update DRIVER_DATE to 20150911
    drm/i915: Remove one very outdated comment
    drm/i915: Use crtc->state for duplication.
    drm/i915: Do not handle a null plane state.
    drm/i915: Remove legacy plane updates for cursor and sprite planes.
    drm/i915: Use atomic state when changing cursor visibility.
    drm/i915: Use the atomic state in intel_update_primary_planes.
    drm/i915: Use the plane state in intel_crtc_info.
    drm/i915: Use atomic plane state in the primary plane update.
    drm/i915: add attached connector to hdmi container
    drm/i915: don't hard code vlv backlight frequency if unset
    drm/i915: initialize backlight max from VBT
    drm/i915: use pch backlight override on hsw too
    drm/i915/bxt: Clean up bxt_init_clock_gating
    drm/i915: Fix cmdparser STORE/LOAD command descriptors
    drm/i915: Dump pfit state as hex
    drm/i915: access the PP_ON_DELAYS/PP_OFF_DELAYS regs only pre GEN5
    drm/i915: access the PP_CONTROL reg only pre GEN5
    drm/i915: Refactor common ringbuffer allocation code
    drm/i915: use the yesno helper for logging
    ...

    Dave Airlie
     

01 Oct, 2015

4 commits


30 Sep, 2015

2 commits

  • 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: David Herrmann
    Reviewed-by: Christian König
    Signed-off-by: Daniel Vetter

    Daniel Vetter
     
  • ->load is deprecated, bus functions are deprecated and everyone
    should use drm_dev_alloc®ister.

    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
    Cc: David Herrmann
    Acked-by: David Herrmann (v2)
    Signed-off-by: Daniel Vetter
    Signed-off-by: Daniel Vetter

    Daniel Vetter