25 Nov, 2019

1 commit


20 Sep, 2019

1 commit

  • Pull drm updates from Dave Airlie:
    "This is the main pull request for 5.4-rc1 merge window. I don't think
    there is anything outstanding so next week should just be fixes, but
    we'll see if I missed anything. I landed some fixes earlier in the
    week but got delayed writing summary and sending it out, due to a mix
    of sick kid and jetlag!

    There are some fixes pending, but I'd rather get the main merge out of
    the way instead of delaying it longer.

    It's also pretty large in commit count and new amd header file size.
    The largest thing is four new amdgpu products (navi12/14, arcturus and
    renoir APU support).

    Otherwise it's pretty much lots of work across the board, i915 has
    started landing tigerlake support, lots of icelake fixes and lots of
    locking reworking for future gpu support, lots of header file rework
    (drmP.h is nearly gone), some old legacy hacks (DRM_WAIT_ON) have been
    put into the places they are needed.

    uapi:
    - content protection type property for HDCP

    core:
    - rework include dependencies
    - lots of drmP.h removals
    - link rate calculation robustness fix
    - make fb helper map only when required
    - add connector->DDC adapter link
    - DRM_WAIT_ON removed
    - drop DRM_AUTH usage from drivers

    dma-buf:
    - reservation object fence helper

    dma-fence:
    - shrink dma_fence struct
    - merge signal functions
    - store timestamps in dma_fence
    - selftests

    ttm:
    - embed drm_get_object struct into ttm_buffer_object
    - release_notify callback

    bridges:
    - sii902x - audio graph card support
    - tc358767 - aux data handling rework
    - ti-snd64dsi86 - debugfs support, DSI mode flags support

    panels:
    - Support for GiantPlus GPM940B0, Sharp LQ070Y3DG3B, Ortustech
    COM37H3M, Novatek NT39016, Sharp LS020B1DD01D, Raydium RM67191, Boe
    Himax8279d, Sharp LD-D5116Z01B
    - TI nspire, NEC NL8048HL11, LG Philips LB035Q02, Sharp LS037V7DW01,
    Sony ACX565AKM, Toppoly TD028TTEC1 Toppoly TD043MTEA1

    i915:
    - Initial tigerlake platform support
    - Locking simplification work, general all over refactoring.
    - Selftests
    - HDCP debug info improvements
    - DSI properties
    - Icelake display PLL fixes, colorspace fixes, bandwidth fixes, DSI
    suspend/resume
    - GuC fixes
    - Perf fixes
    - ElkhartLake enablement
    - DP MST fixes
    - GVT - command parser enhancements

    amdgpu:
    - add wipe memory on release flag for buffer creation
    - Navi12/14 support (may be marked experimental)
    - Arcturus support
    - Renoir APU support
    - mclk DPM for Navi
    - DC display fixes
    - Raven scatter/gather support
    - RAS support for GFX
    - Navi12 + Arcturus power features
    - GPU reset for Picasso
    - smu11 i2c controller support

    amdkfd:
    - navi12/14 support
    - Arcturus support

    radeon:
    - kexec fix

    nouveau:
    - improved display color management
    - detect lack of GPU power cables

    vmwgfx:
    - evicition priority support
    - remove unused security feature

    msm:
    - msm8998 display support
    - better async commit support for cursor updates

    etnaviv:
    - per-process address space support
    - performance counter fixes
    - softpin support

    mcde:
    - DCS transfers fix

    exynos:
    - drmP.h cleanup

    lima:
    - reduce logging

    kirin:
    - misc clenaups

    komeda:
    - dual-link support
    - DT memory regions

    hisilicon:
    - misc fixes

    imx:
    - IPUv3 image converter fixes
    - 32-bit RGB V4L2 pixel format support

    ingenic:
    - more support for panel related cases

    mgag200:
    - cursor support fix

    panfrost:
    - export GPU features register to userspace
    - gpu heap allocations
    - per-fd address space support

    pl111:
    - CLD pads wiring support removed from DT

    rockchip:
    - rework to use DRM PSR helpers
    - fix bug in VOP_WIN_GET macro
    - DSI DT binding rework

    sun4i:
    - improve support for color encoding and range
    - DDC enabled GPIO

    tinydrm:
    - rework SPI support
    - improve MIPI-DBI support
    - moved to drm/tiny

    vkms:
    - rework CRC tracking

    dw-hdmi:
    - get_eld and i2s improvements

    gm12u320:
    - misc fixes

    meson:
    - global code cleanup
    - vpu feature detect

    omap:
    - alpha/pixel blend mode properties

    rcar-du:
    - misc fixes"

    * tag 'drm-next-2019-09-18' of git://anongit.freedesktop.org/drm/drm: (2112 commits)
    drm/nouveau/bar/gm20b: Avoid BAR1 teardown during init
    drm/nouveau: Fix ordering between TTM and GEM release
    drm/nouveau/prime: Extend DMA reservation object lock
    drm/nouveau: Fix fallout from reservation object rework
    drm/nouveau/kms/nv50-: Don't create MSTMs for eDP connectors
    drm/i915: Use NOEVICT for first pass on attemping to pin a GGTT mmap
    drm/i915: to make vgpu ppgtt notificaiton as atomic operation
    drm/i915: Flush the existing fence before GGTT read/write
    drm/i915: Hold irq-off for the entire fake lock period
    drm/i915/gvt: update RING_START reg of vGPU when the context is submitted to i915
    drm/i915/gvt: update vgpu workload head pointer correctly
    drm/mcde: Fix DSI transfers
    drm/msm: Use the correct dma_sync calls harder
    drm/msm: remove unlikely() from WARN_ON() conditions
    drm/msm/dsi: Fix return value check for clk_get_parent
    drm/msm: add atomic traces
    drm/msm/dpu: async commit support
    drm/msm: async commit support
    drm/msm: split power control from prepare/complete_commit
    drm/msm: add kms->flush_commit()
    ...

    Linus Torvalds
     

20 Aug, 2019

8 commits

  • The existing documentation was incorrect and did not correspond
    to how actual codec drivers implemented this.

    Update the documentation to explicitly specify what is actually
    expected.

    Signed-off-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Hans Verkuil
     
  • Due to complexity of the video decoding process, the V4L2 drivers of
    stateful decoder hardware require specific sequences of V4L2 API calls
    to be followed. These include capability enumeration, initialization,
    decoding, seek, pause, dynamic resolution change, drain and end of
    stream.

    Specifics of the above have been discussed during Media Workshops at
    LinuxCon Europe 2012 in Barcelona and then later Embedded Linux
    Conference Europe 2014 in Düsseldorf. The de facto Codec API that
    originated at those events was later implemented by the drivers we already
    have merged in mainline, such as s5p-mfc or coda.

    The only thing missing was the real specification included as a part of
    Linux Media documentation. Fix it now and document the decoder part of
    the Codec API.

    Signed-off-by: Tomasz Figa
    Signed-off-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Tomasz Figa
     
  • Add an enum_fmt format flag to specifically tag coded formats where
    dynamic resolution switching is supported by the device.

    This is useful for some codec drivers that can support dynamic
    resolution switching for one or more of their listed coded formats. It
    allows userspace to know whether it should extract the video parameters
    itself, or if it can rely on the device to send V4L2_EVENT_SOURCE_CHANGE
    when such changes are detected.

    Signed-off-by: Maxime Jourdan
    Reviewed-by: Paul Kocialkowski
    Reviewed-by: Alexandre Courbot
    Acked-by: Tomasz Figa
    Signed-off-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Maxime Jourdan
     
  • Add an enum_fmt format flag to specifically tag coded formats where
    full bytestream parsing is supported by the device.

    Some stateful decoders are capable of fully parsing a bytestream,
    but others require that userspace pre-parses the bytestream into
    frames or fields (see the corresponding pixelformat descriptions
    for details).

    If this flag is set, then this pre-parsing step is not required
    (but still possible, of course).

    Signed-off-by: Hans Verkuil
    Reviewed-by: Paul Kocialkowski
    Reviewed-by: Alexandre Courbot
    Signed-off-by: Mauro Carvalho Chehab

    Hans Verkuil
     
  • Those lists can be extracted from the dpb, let's simplify userspace
    life and build that list kernel-side (generic helpers will be provided
    for drivers that need this list).

    Signed-off-by: Boris Brezillon
    Reviewed-by: Nicolas Dufresne
    Reviewed-by: Ezequiel Garcia
    Reviewed-by: Paul Kocialkowski
    Tested-by: Philipp Zabel
    Signed-off-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Boris Brezillon
     
  • Stateless decoders have different expectations about the
    start code that is prepended on H264 slices. Add a
    menu control to express the supported start code types
    (including no start code).

    Drivers are allowed to support only one start code type,
    but they can support both too.

    Note that this is independent of the H264 decoding mode,
    which specifies the granularity of the decoding operations.
    Either in frame-based or slice-based mode, this new control
    will allow to define the start code expected on H264 slices.

    Signed-off-by: Ezequiel Garcia
    Tested-by: Philipp Zabel
    Signed-off-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Ezequiel Garcia
     
  • Some stateless decoders don't support per-slice decoding granularity
    (or at least not in a way that would make them efficient or easy to use).

    Expose a menu to control the supported decoding modes. Drivers are
    allowed to support only one decoding but they can support both too.

    To fully specify the decoding operation, we need to introduce
    a start_byte_offset, to indicate where slices start.

    Signed-off-by: Boris Brezillon
    Reviewed-by: Paul Kocialkowski
    Tested-by: Philipp Zabel
    Signed-off-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Boris Brezillon
     
  • The V4L2_PIX_FMT_H264_SLICE_RAW name was originally suggested
    because the pixel format would represent H264 slices without any
    start code.

    However, as we will now introduce a start code menu control,
    give the pixel format a more meaningful name, while it's
    still early enough to do so.

    Signed-off-by: Ezequiel Garcia
    Tested-by: Philipp Zabel
    Signed-off-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Ezequiel Garcia
     

19 Aug, 2019

1 commit


15 Aug, 2019

3 commits

  • Add a sentence that makes it more clear when the CSI-2 transmitter
    must, if possible, exit LP-11 mode. That is, maintain LP-11 mode
    until stream on, at which point the transmitter activates the clock
    lane and transition to HS mode.

    Signed-off-by: Steve Longerbeam
    Signed-off-by: Sakari Ailus
    Signed-off-by: Mauro Carvalho Chehab

    Steve Longerbeam
     
  • The raw Bayer formats have been listed under the label of RGB formats but
    in fact they're quite different. The latter are readily usable as such
    whereas the former require quite bit of image processing before useful.

    Split them into RGB and raw Bayer formats.

    Signed-off-by: Sakari Ailus
    Acked-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Sakari Ailus
     
  • When the support for serial busses was introduced in V4L2, it was decided
    to use the existing parallel bus media bus pixel codes to describe them.
    While this was a practical choice at the time, it necessitates choosing
    which one of the many parallel mbus pixel codes to use, for on the serial
    busses these formats are effectively all equivalent.

    The practice has always been to use the pixel code that describes a bus
    that transfers a single sample per clock. Document this.

    Signed-off-by: Sakari Ailus
    Acked-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Sakari Ailus
     

09 Aug, 2019

1 commit

  • drm-misc-next for 5.4:

    UAPI Changes:
    - HDCP: Add a Content protection type property

    Cross-subsystem Changes:

    Core Changes:
    - Continue to rework the include dependencies
    - fb: Remove the unused drm_gem_fbdev_fb_create function
    - drm-dp-helper: Make the link rate calculation more tolerant to
    non-explicitly defined, yet supported, rates
    - fb-helper: Map DRM client buffer only when required, and instanciate a
    shadow buffer when the device has a dirty function or says so
    - connector: Add a helper to link the DDC adapter used by that connector to
    the userspace
    - vblank: Switch from DRM_WAIT_ON to wait_event_interruptible_timeout
    - dma-buf: Fix a stack corruption
    - ttm: Embed a drm_gem_object struct to make ttm_buffer_object a
    superclass of GEM, and convert drivers to use it.
    - hdcp: Improvements to report the content protection type to the
    userspace

    Driver Changes:
    - Remove drm_gem_prime_import/export from being defined in the drivers
    - Drop DRM_AUTH usage from drivers
    - Continue to drop drmP.h
    - Convert drivers to the connector ddc helper

    - ingenic: Add support for more panel-related cases
    - komeda: Support for dual-link
    - lima: Reduce logging
    - mpag200: Fix the cursor support
    - panfrost: Export GPU features register to userspace through an ioctl
    - pl111: Remove the CLD pads wiring support from the DT
    - rockchip: Rework to use DRM PSR helpers, fix a bug in the VOP_WIN_GET
    macro
    - sun4i: Improve support for color encoding and range
    - tinydrm: Rework SPI support, improve MIPI-DBI support, move to drm/tiny
    - vkms: Rework of the CRC tracking

    - bridges:
    - sii902x: Add support for audio graph card
    - tc358767: Rework AUX data handling code
    - ti-sn65dsi86: Add Debugfs and proper DSI mode flags support

    - panels
    - Support for GiantPlus GPM940B0, Sharp LQ070Y3DG3B, Ortustech
    COM37H3M, Novatek NT39016, Sharp LS020B1DD01D, Raydium RM67191,
    Boe Himax8279d, Sharp LD-D5116Z01B
    - Conversion of the device tree bindings to the YAML description
    - jh057n00900: Rework the enable / disable path

    - fbdev:
    - ssd1307fb: Support more devices based on that controller

    Signed-off-by: Dave Airlie

    From: Maxime Ripard
    Link: https://patchwork.freedesktop.org/patch/msgid/20190808121423.xzpedzkpyecvsiy4@flea

    Dave Airlie
     

08 Aug, 2019

1 commit

  • In imx7s.dtsi the node name for the CSI multiplexer is "csi-mux", not
    "csi_mux", so fix all the references in the document.

    This fixes the following error when the instructions are followed:

    Unable to parse link: Invalid argument (22)

    While at it, provide the "media-ctl -p" output from 5.2 kernel
    version, so that users can see a more updated output.

    Fixes: fa88fbdafb4a ("media: imx7.rst: add documentation for i.MX7 media driver")
    Signed-off-by: Fabio Estevam
    Reviewed-by: Rui Miguel Silva
    Signed-off-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Fabio Estevam
     

04 Aug, 2019

2 commits


31 Jul, 2019

1 commit


30 Jul, 2019

1 commit

  • Linux 5.3-rc2

    * tag 'v5.3-rc2': (342 commits)
    Linux 5.3-rc2
    kbuild: remove unused single-used-m
    gen_compile_commands: lower the entry count threshold
    .gitignore: Add compilation database file
    kbuild: remove unused objectify macro
    dt-bindings: Fix more $id value mismatches filenames
    dt-bindings: nvmem: SID: Fix the examples node names
    dt-bindings: nvmem: Add YAML schemas for the generic NVMEM bindings
    of: Fix typo in kerneldoc
    block: fix max segment size handling in blk_queue_virt_boundary
    docs: phy: Drop duplicate 'be made'
    fix the struct mount leak in umount_tree()
    MAINTAINERS: vfio-ccw: Remove myself as the maintainer
    s390/mm: use shared variables for sysctl range check
    virtio/s390: fix race on airq_areas[]
    s390/dma: provide proper ARCH_ZONE_DMA_BITS value
    btrfs: fix extent_state leak in btrfs_lock_and_flush_ordered_range
    Makefile: Globally enable fall-through warning
    drm/i915: Mark expected switch fall-throughs
    drm/amd/display: Mark expected switch fall-throughs
    ...

    Mauro Carvalho Chehab
     

25 Jul, 2019

1 commit


23 Jul, 2019

4 commits

  • Since vimc-streamer.{c, h} are fully documented and conforming with the
    kernel-doc syntax, add those files to vimc.rst

    Signed-off-by: André Almeida
    Suggested-by: Mauro Carvalho Chehab
    Signed-off-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    André Almeida
     
  • According to W3C, "the content of the alt attribute is: use text that
    fulfills the same function as the image". While it's hard to describe
    the whole content of this image, replace the actual alt to something
    more useful to people with slow connection or that uses screen readers.

    Signed-off-by: André Almeida
    Signed-off-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    André Almeida
     
  • Noralf needs some SPI patches in 5.3 to merge some work on tinydrm.

    Signed-off-by: Maxime Ripard

    Maxime Ripard
     
  • Add the parsed VP8 frame pixel format and controls, to be used
    with the new stateless decoder API for VP8 to provide parameters
    for accelerator (aka stateless) codecs.

    Reviewed-by: Tomasz Figa
    Reviewed-by: Boris Brezillon
    Reviewed-by: Nicolas Dufresne
    Signed-off-by: Pawel Osciak
    Signed-off-by: Ezequiel Garcia
    Signed-off-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Pawel Osciak
     

17 Jul, 2019

1 commit


27 Jun, 2019

2 commits

  • Not sure how codespell thinks "sroweam" is a real word.

    Signed-off-by: Bastien Nocera
    Signed-off-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Bastien Nocera
     
  • Prefer KEY_NUMERIC_* for number buttons on remotes. Now all the remotes
    use KEY_NUMERIC_[0-9] for the number buttons rather than keys that
    could be affected by modifiers (Caps-Lock, or Num-Lock) or regional
    keymaps.

    Created using:
    sed -i 's/KEY_\([0-9]\) /KEY_NUMERIC_\1 /' *.c
    sed -i 's/KEY_\([0-9]\)}/KEY_NUMERIC_\1}/' *.c
    sed -i 's/``KEY_\([0-9]\)/``KEY_NUMERIC_\1/' Documentation/media/uapi/rc/rc-tables.rst

    Signed-off-by: Bastien Nocera
    Signed-off-by: Sean Young
    Signed-off-by: Mauro Carvalho Chehab

    Bastien Nocera
     

26 Jun, 2019

1 commit

  • This patch adds MEDIA_BUS_FMT_RGB888_3X8, used for the GiantPlus
    GPM940B0 24-bit TFT panel, where the RGB components are transferred
    sequentially on a 8-bit bus.

    Signed-off-by: Paul Cercueil
    Acked-by: Mauro Carvalho Chehab
    Acked-by: Sakari Ailus
    Signed-off-by: Sam Ravnborg
    Link: https://patchwork.freedesktop.org/patch/msgid/20190605222247.25657-2-paul@crapouillou.net

    Paul Cercueil
     

22 Jun, 2019

11 commits