17 Apr, 2014

3 commits

  • At the moment the "Device Drivers / Graphics support" kernel config page
    looks rather messy, with DRM and fbdev driver selections on the same
    page, some on the top level Graphics support page, some under their
    respective subsystems.

    If I'm not mistaken, this is caused by the drivers depending on other
    things than DRM or FB, which causes Kconfig to arrange the options in
    not-so-neat manner.

    Both DRM and FB have a main menuconfig option for the whole DRM or FB
    subsystem. Optimally, this would be enough to arrange all DRM and FB
    options under the respective subsystem, but for whatever reason this
    doesn't work reliably.

    This patch adds an explicit submenu for DRM and FB, making it much
    clearer which options are related to FB, and which to DRM.

    Signed-off-by: Tomi Valkeinen
    Acked-by: Laurent Pinchart
    Acked-by: Geert Uytterhoeven
    Acked-by: Rob Clark
    Reviewed-by: Jingoo Han
    Acked-by: Daniel Vetter

    Tomi Valkeinen
     
  • Instead of having fbdev framework core files at the root fbdev
    directory, mixed with random fbdev device drivers, move the fbdev core
    files to a separate core directory. This makes it much clearer which of
    the files are actually part of the fbdev framework, and which are part
    of device drivers.

    Signed-off-by: Tomi Valkeinen
    Acked-by: Laurent Pinchart
    Acked-by: Geert Uytterhoeven
    Acked-by: Rob Clark
    Acked-by: Jingoo Han
    Acked-by: Daniel Vetter

    Tomi Valkeinen
     
  • The drivers/video directory is a mess. It contains generic video related
    files, directories for backlight, console, linux logo, lots of fbdev
    device drivers, fbdev framework files.

    Make some order into the chaos by creating drivers/video/fbdev
    directory, and move all fbdev related files there.

    No functionality is changed, although I guess it is possible that some
    subtle Makefile build order related issue could be created by this
    patch.

    Signed-off-by: Tomi Valkeinen
    Acked-by: Laurent Pinchart
    Acked-by: Geert Uytterhoeven
    Acked-by: Rob Clark
    Acked-by: Jingoo Han
    Acked-by: Daniel Vetter

    Tomi Valkeinen
     

15 Apr, 2014

1 commit


14 Apr, 2014

6 commits

  • Avoid colision with regmap's struct reg_field definition by renaming
    omapdss's struct reg_field to dispc_reg_field, and moving it inside
    dispc.c as that's the only place it is used.

    Signed-off-by: Jyri Sarha
    Signed-off-by: Tomi Valkeinen

    Jyri Sarha
     
  • Pixelclock unit change from kHz to Hz should be taken into account
    in CTS value calculations in hdmi_compute_acr().

    Signed-off-by: Jyri Sarha
    Signed-off-by: Tomi Valkeinen

    Jyri Sarha
     
  • DSS uses shared irq handlers for DISPC and DSI, because on OMAP3, the
    DISPC and DSI share the same irq line.

    However, the irq handlers presume that the hardware is enabled, which,
    in theory, may not be the case with shared irq handlers. So if an
    interrupt happens while the DISPC/DSI is off, the kernel will halt as
    the irq handler tries to access the DISPC/DSI registers.

    In practice that should never happen, as both DSI and DISPC are in the
    same power domain. So if there's an IRQ for one of them, the other is
    also enabled. However, if CONFIG_DEBUG_SHIRQ is enabled, the kernel will
    generate a spurious IRQ, which then causes the problem.

    This patch adds an is_enabled field for both DISPC and DSI, which is
    used to track if the HW is enabled. For DISPC the code is slightly more
    complex, as the users of DISPC can register the interrupt handler, and
    we want to hide the is_enabled handling from the users of DISPC.

    Signed-off-by: Tomi Valkeinen

    Tomi Valkeinen
     
  • FB driver uses lowlevel controls for LCD powering and contrast changing.
    Since LCD class cannot be used as an optional feature and should be
    compiled for using in the driver, this patch selects LCD_CLASS_DEVICE
    symbol for the driver.

    Signed-off-by: Alexander Shiyan
    Signed-off-by: Tomi Valkeinen

    Alexander Shiyan
     
  • "clk: divider: fix rate calculation for fractional rates" patch (and
    similar for TI specific divider) fixes the clk-divider's rounding. This
    patch updates the DSS driver to round the rates accordingly.

    This fixes the DSS's warnings about clock rate mismatch, and also fixes
    the wrong fclk rate being set.

    Signed-off-by: Tomi Valkeinen
    Tested-by: Christoph Fritz
    Tested-by: Marek Belisko

    Tomi Valkeinen
     
  • The casting to (u16 *) on info->pseudo_palette is wrong and causes the
    display to show a blue (garbage) vertical line on every other pixel column

    Signed-off-by: Jon Ringle
    Signed-off-by: Tomi Valkeinen

    Jon Ringle
     

10 Apr, 2014

1 commit


09 Apr, 2014

1 commit

  • Pull drm updates from Dave Airlie:
    "Highlights:

    - drm:

    Generic display port aux features, primary plane support, drm
    master management fixes, logging cleanups, enforced locking checks
    (instead of docs), documentation improvements, minor number
    handling cleanup, pseudofs for shared inodes.

    - ttm:

    add ability to allocate from both ends

    - i915:

    broadwell features, power domain and runtime pm, per-process
    address space infrastructure (not enabled)

    - msm:

    power management, hdmi audio support

    - nouveau:

    ongoing GPU fault recovery, initial maxwell support, random fixes

    - exynos:

    refactored driver to clean up a lot of abstraction, DP support
    moved into drm, LVDS bridge support added, parallel panel support

    - gma500:

    SGX MMU support, SGX irq handling, asle irq work fixes

    - radeon:

    video engine bringup, ring handling fixes, use dp aux helpers

    - vmwgfx:

    add rendernode support"

    * 'drm-next' of git://people.freedesktop.org/~airlied/linux: (849 commits)
    DRM: armada: fix corruption while loading cursors
    drm/dp_helper: don't return EPROTO for defers (v2)
    drm/bridge: export ptn3460_init function
    drm/exynos: remove MODULE_DEVICE_TABLE definitions
    ARM: dts: exynos4412-trats2: enable exynos/fimd node
    ARM: dts: exynos4210-trats: enable exynos/fimd node
    ARM: dts: exynos4412-trats2: add panel node
    ARM: dts: exynos4210-trats: add panel node
    ARM: dts: exynos4: add MIPI DSI Master node
    drm/panel: add S6E8AA0 driver
    ARM: dts: exynos4210-universal_c210: add proper panel node
    drm/panel: add ld9040 driver
    panel/ld9040: add DT bindings
    panel/s6e8aa0: add DT bindings
    drm/exynos: add DSIM driver
    exynos/dsim: add DT bindings
    drm/exynos: disallow fbdev initialization if no device is connected
    drm/mipi_dsi: create dsi devices only for nodes with reg property
    drm/mipi_dsi: add flags to DSI messages
    Skip intel_crt_init for Dell XPS 8700
    ...

    Linus Torvalds
     

08 Apr, 2014

4 commits

  • Change to use devm_backlight_device_register() for simple cleanup.

    Signed-off-by: Daniel Jeong
    Acked-by: Jingoo Han
    Signed-off-by: Lee Jones

    Daniel Jeong
     
  • Signed-off-by: Denis Carikli
    Acked-by: Jingoo Han
    Signed-off-by: Lee Jones

    Denis Carikli
     
  • As per the comments on device_register, we shouldn't call kfree()
    right after a device_register() failure. Instead call put_device(),
    which in turn will call bl_device_release resulting in a kfree to the
    full structure.

    Signed-off-by: Levente Kurusa
    Acked-by: Jingoo Han
    Signed-off-by: Lee Jones

    Levente Kurusa
     
  • Pull OMAP fbdev changes from Tomi Valkeinen:
    "This is based on the already pulled fbdev-main changes, and this also
    merges .dts branch from Tony Lindgren (which has also been pulled), so
    that I was able to add the display related .dts changes.

    This contains OMAP related fbdev changes for 3.15. The bulk of the
    patches are for adding Device Tree support for OMAP Display Subsystem:

    - SoCs: OMAP2/3/4

    - Boards: OMAP4 Panda, OMAP4 SDP, OMAP3 Beagle, OMAP3 Beagle-xM,
    OMAP3 IGEP0020, OMAP3 N900

    - Devices: TFP410 Encoder, tpd12s015 HDMI companion chip, Sony
    acx565akm panel, MIPI DSI Command mode panel and HDMI, DVI and
    Analog TV connectors"

    * tag 'fbdev-omap-3.15' of git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux: (45 commits)
    OMAPDSS: HDMI: fix interlace output
    OMAPDSS: add missing __init for dss_init_ports
    ARM: OMAP2+: remove pdata quirks for displays
    OMAPDSS: remove DT hacks for regulators
    Doc/DT: Add DT binding documentation for tpd12s015 encoder
    Doc/DT: Add DT binding documentation for TFP410 encoder
    Doc/DT: Add DT binding documentation for Sony acx565akm panel
    Doc/DT: Add DT binding documentation for MIPI DSI CM Panel
    Doc/DT: Add DT binding documentation for HDMI Connector
    Doc/DT: Add DT binding documentation for DVI Connector
    Doc/DT: Add DT binding documentation for Analog TV Connector
    ARM: omap3-n900.dts: add display information
    ARM: omap3-igep0020.dts: add display information
    ARM: omap3-beagle-xm.dts: add display information
    ARM: omap3-beagle.dts: add display information
    ARM: omap4-sdp.dts: add display information
    Doc/DT: Add DT binding documentation for OMAP DSS
    OMAPDSS: acx565akm: Add DT support
    OMAPDSS: connector-analog-tv: Add DT support
    OMAPDSS: hdmi-connector: Add DT support
    ...

    Linus Torvalds
     

05 Apr, 2014

1 commit

  • Pull fbdev changes from Tomi Valkeinen:
    "Various fbdev fixes and improvements, but nothing big"

    * tag 'fbdev-main-3.15' of git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux: (38 commits)
    fbdev: Make the switch from generic to native driver less alarming
    Video: atmel: avoid the id of fix screen info is overwritten
    video: imxfb: Add DT default contrast control register property.
    video: atmel_lcdfb: ensure the hardware is initialized with the correct mode
    fbdev: vesafb: add dev->remove() callback
    fbdev: efifb: add dev->remove() callback
    video: pxa3xx-gcu: switch to devres functions
    video: pxa3xx-gcu: provide an empty .open call
    video: pxa3xx-gcu: pass around struct device *
    video: pxa3xx-gcu: rename some symbols
    sisfb: fix 1280x720 resolution support
    video: fbdev: uvesafb: Remove impossible code path in uvesafb_init_info
    video: fbdev: uvesafb: Remove redundant NULL check in uvesafb_remove
    fbdev: FB_OPENCORES should depend on HAS_DMA
    OMAPDSS: convert pixel clock to common videomode style
    OMAPDSS: Remove unused get_context_loss_count support
    OMAPDSS: use DISPC register to detect context loss
    video: da8xx-fb: Use "SIMPLE_DEV_PM_OPS" macro
    video: imxfb: Convert to SIMPLE_DEV_PM_OPS
    video: imxfb: Resolve mismatch between backlight/contrast
    ...

    Linus Torvalds
     

04 Apr, 2014

17 commits


03 Apr, 2014

2 commits


02 Apr, 2014

1 commit

  • Pull char/misc driver patches from Greg KH:
    "Here's the big char/misc driver updates for 3.15-rc1.

    Lots of various things here, including the new mcb driver subsystem.

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

    * tag 'char-misc-3.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (118 commits)
    extcon: Move OF helper function to extcon core and change function name
    extcon: of: Remove unnecessary function call by using the name of device_node
    extcon: gpio: Use SIMPLE_DEV_PM_OPS macro
    extcon: palmas: Use SIMPLE_DEV_PM_OPS macro
    mei: don't use deprecated DEFINE_PCI_DEVICE_TABLE macro
    mei: amthif: fix checkpatch error
    mei: client.h fix checkpatch errors
    mei: use cl_dbg where appropriate
    mei: fix Unnecessary space after function pointer name
    mei: report consistently copy_from/to_user failures
    mei: drop pr_fmt macros
    mei: make me hw headers private to me hw.
    mei: fix memory leak of pending write cb objects
    mei: me: do not reset when less than expected data is received
    drivers: mcb: Fix build error discovered by 0-day bot
    cs5535-mfgpt: Simplify dependencies
    spmi: pm: drop bus-level PM suspend/resume routines
    spmi: pmic_arb: make selectable on ARCH_QCOM
    Drivers: hv: vmbus: Increase the limit on the number of pfns we can handle
    pch_phub: Report error writing MAC back to user
    ...

    Linus Torvalds
     

23 Mar, 2014

2 commits


20 Mar, 2014

1 commit