26 Feb, 2015

1 commit

  • omapdss's sysfs directories for displays used to have 'name' file,
    giving the name for the display. This file was later renamed to
    'display_name' to avoid conflicts with i2c sysfs 'name' file. Looks like
    at least xserver-xorg-video-omap3 requires the 'name' file to be
    present.

    To fix the regression, this patch creates new kobjects for each display,
    allowing us to create sysfs directories for the displays. This way we
    have the whole directory for omapdss, and there will be no sysfs file
    clashes with the underlying display device's sysfs files.

    We can thus add the 'name' sysfs file back.

    Signed-off-by: Tomi Valkeinen
    Tested-by: NeilBrown

    Tomi Valkeinen
     

17 Feb, 2015

1 commit

  • Pull drm updates from Dave Airlie:
    "This is the main drm pull, it has a shared branch with some alsa
    crossover but everything should be acked by relevant people.

    New drivers:
    - ATMEL HLCDC driver
    - designware HDMI core support (used in multiple SoCs).

    core:
    - lots more atomic modesetting work, properties and atomic ioctl
    (hidden under option)
    - bridge rework allows support for Samsung exynos chromebooks to
    work finally.
    - some more panels supported

    i915:
    - atomic plane update support
    - DSI uses shared DSI infrastructure
    - Skylake basic support is all merged now
    - component framework used for i915/snd-hda interactions
    - write-combine cpu memory mappings
    - engine init code refactored
    - full ppgtt enabled where execlists are enabled.
    - cherryview rps/gpu turbo and pipe CRC support.

    radeon:
    - indirect draw support for evergreen/cayman
    - SMC and manual fan control for SI/CI
    - Displayport audio support

    amdkfd:
    - SDMA usermode queue support
    - replace suballocator usage with more suitable one
    - rework for allowing interfacing to more than radeon

    nouveau:
    - major renaming in prep for later splitting work
    - merge arm platform driver into nouveau
    - GK20A reclocking support

    msm:
    - conversion to atomic modesetting
    - YUV support for mdp4/5
    - eDP support
    - hw cursor for mdp5

    tegra:
    - conversion to atomic modesetting
    - better suspend/resume support for child devices

    rcar-du:
    - interlaced support

    imx:
    - move to using dw_hdmi shared support
    - mode_fixup support

    sti:
    - DVO support
    - HDMI infoframe support

    exynos:
    - refactoring and cleanup, removed lots of internal unnecessary
    abstraction
    - exynos7 DECON display controller support

    Along with the usual bunch of fixes, cleanups etc"

    * 'drm-next' of git://people.freedesktop.org/~airlied/linux: (724 commits)
    drm/radeon: fix voltage setup on hawaii
    drm/radeon/dp: Set EDP_CONFIGURATION_SET for bridge chips if necessary
    drm/radeon: only enable kv/kb dpm interrupts once v3
    drm/radeon: workaround for CP HW bug on CIK
    drm/radeon: Don't try to enable write-combining without PAT
    drm/radeon: use 0-255 rather than 0-100 for pwm fan range
    drm/i915: Clamp efficient frequency to valid range
    drm/i915: Really ignore long HPD pulses on eDP
    drm/exynos: Add DECON driver
    drm/i915: Correct the base value while updating LP_OUTPUT_HOLD in MIPI_PORT_CTRL
    drm/i915: Insert a command barrier on BLT/BSD cache flushes
    drm/i915: Drop vblank wait from intel_dp_link_down
    drm/exynos: fix NULL pointer reference
    drm/exynos: remove exynos_plane_dpms
    drm/exynos: remove mode property of exynos crtc
    drm/exynos: Remove exynos_plane_dpms() call with no effect
    drm/i915: Squelch overzealous uncore reset WARN_ON
    drm/i915: Take runtime pm reference on hangcheck_info
    drm/i915: Correct the IOSF Dev_FN field for IOSF transfers
    drm/exynos: fix DMA_ATTR_NO_KERNEL_MAPPING usage
    ...

    Linus Torvalds
     

11 Feb, 2015

1 commit

  • This patch is based on exynos-drm-next branch of Inki Dae's tree at:
    git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos.git

    DECON(Display and Enhancement Controller) is the new IP
    in exynos7 SOC for generating video signals using pixel data.

    DECON driver can be used to drive 2 different interfaces on Exynos7:
    DECON-INT(video controller) and DECON-EXT(Mixer for HDMI)

    The existing FIMD driver code was used as a template to create
    DECON driver. Only DECON-INT is supported as of now, and
    DECON-EXT support will be added later.

    The current version of the driver supports video mode displays.

    Changelog v2:
    - Change config name, DRM_EXYNOS_DECON to DRM_EXYNOS7_DECON.

    Signed-off-by: Akshu Agrawal
    Signed-off-by: Ajay Kumar
    Signed-off-by: Inki Dae

    Ajay Kumar
     

04 Feb, 2015

1 commit


08 Jan, 2015

2 commits

  • This patch changes struct ipu_di_signal_cfg to use struct videomode
    to define video timings and flags.

    Signed-off-by: Steve Longerbeam
    Signed-off-by: Philipp Zabel

    Steve Longerbeam
     
  • On some monitors, high resolution modes are not working, exhibiting
    pixel column truncation problems (for example, 1280x1024 displays as
    1280x1022).

    The function ipu_di_adjust_videomode() aims to fix these issues by
    adjusting a passed videomode to IPU restrictions. The function can
    be called from the drm_crtc_helper_funcs->mode_fixup() methods.

    Signed-off-by: Jiada Wang
    Signed-off-by: Deepak Das
    Signed-off-by: Steve Longerbeam
    Signed-off-by: Philipp Zabel

    Jiada Wang
     

01 Dec, 2014

1 commit


12 Nov, 2014

1 commit

  • In omapdss_of_find_source_for_first_ep, we retrieve a source endpoint's DT node,
    and then see what omapdss output has the matching device_node pointer in
    omap_dss_find_output_by_node.

    For all DPI and SDI outputs, the device_node pointer is set as the parent's DSS
    device_node pointer. If the source is one of these outputs, the above method
    won't work.

    To get the correct output for ports within DSS(and in other cases in the future,
    where multiple ports might be under one device), we require additional
    information which is exclusive to the output port.

    We create a new field in omap_dss_device called 'port_num', this provides port
    number of the output port corresponding to this device. When searching for the
    source endpoint in DT, we extract the 'reg' property from the port corresponding
    to the endpoint source. From the list of registered outputs, we pick out that
    output which has both dev->of_node and port_num matching with the device_node
    pointer and 'reg' of the source endpoint node from DT.

    For encoder blocks(the ones which have both an input and output port), we need
    to set the port_num as the 'reg' property for the output port as defined in the
    DT bindings. We set port_num to 1 in the tfp410 and tpd12s015 encoder drivers.

    Signed-off-by: Archit Taneja
    Signed-off-by: Tomi Valkeinen

    Archit Taneja
     

19 Oct, 2014

1 commit

  • Pull fbdev updates from Tomi Valkeinen:
    - new 6x10 font
    - various small fixes and cleanups

    * tag 'fbdev-3.18' of git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux: (30 commits)
    fonts: Add 6x10 font
    videomode: provide dummy inline functions for !CONFIG_OF
    video/atmel_lcdfb: Introduce regulator support
    fbdev: sh_mobile_hdmi: Re-init regs before irq re-enable on resume
    framebuffer: fix screen corruption when copying
    framebuffer: fix border color
    arm, fbdev, omap2, LLVMLinux: Remove nested function from omapfb
    arm, fbdev, omap2, LLVMLinux: Remove nested function from omap2 dss
    video: fbdev: valkyriefb.c: use container_of to resolve fb_info_valkyrie from fb_info
    video: fbdev: pxafb.c: use container_of to resolve pxafb_info/layer from fb_info
    video: fbdev: cyber2000fb.c: use container_of to resolve cfb_info from fb_info
    video: fbdev: controlfb.c: use container_of to resolve fb_info_control from fb_info
    video: fbdev: sa1100fb.c: use container_of to resolve sa1100fb_info from fb_info
    video: fbdev: stifb.c: use container_of to resolve stifb_info from fb_info
    video: fbdev: sis: sis_main.c: Cleaning up missing null-terminate in conjunction with strncpy
    video: valkyriefb: Fix unused variable warning in set_valkyrie_clock()
    video: fbdev: use %*ph specifier to dump small buffers
    video: mx3fb: always enable BACKLIGHT_LCD_SUPPORT
    video: fbdev: au1200fb: delete double assignment
    video: fbdev: sis: delete double assignment
    ...

    Linus Torvalds
     

07 Oct, 2014

1 commit

  • If CONFIG_OF is disabled but we build any driver that tries to
    use of_get_display_timing, we get this link error:

    ERROR: "of_get_display_timing" [drivers/gpu/drm/rcar-du/rcar-du-drm.ko] undefined!

    This adds an empty inline function as an alternative, to avoid changing
    each driver using this function when we want to build them without
    CONFIG_OF.

    Reported-by: Arnd Bergmann
    Signed-off-by: Tomi Valkeinen

    Tomi Valkeinen
     

02 Sep, 2014

19 commits


18 Aug, 2014

2 commits

  • Adds two new functions, ipu_set_csi_src_mux() and ipu_set_ic_src_mux(),
    that select the inputs to the CSI and IC respectively. Both muxes are
    programmed in the IPU_CONF register.

    Signed-off-by: Steve Longerbeam
    Signed-off-by: Philipp Zabel

    Steve Longerbeam
     
  • Move channel parameter memory setup functions and macros into a new
    submodule ipu-cpmem. In the process, cleanup arguments to the functions
    to take a channel pointer instead of a pointer into cpmem for that
    channel. That allows the structure of the parameter memory to be
    private to ipu-cpmem.c.

    Signed-off-by: Steve Longerbeam
    Signed-off-by: Philipp Zabel

    Steve Longerbeam
     

09 Aug, 2014

2 commits

  • Pull fbdev updates from Tomi Valkeinen:
    - much better HDMI infoframe support for OMAP
    - Cirrus Logic CLPS711X framebuffer driver
    - DT support for PL11x CLCD driver
    - various small fixes

    * tag 'fbdev-3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux: (35 commits)
    OMAPDSS: DSI: fix depopulating dsi peripherals
    video: hyperv: hyperv_fb: refresh the VM screen by force on VM panic
    video: ARM CLCD: Fix DT-related build problems
    drivers: video: fbdev: atmel_lcdfb.c: Add ability to inverted backlight PWM.
    video: ARM CLCD: Add DT support
    drm/omap: Add infoframe & dvi/hdmi mode support
    OMAPDSS: HDMI: remove the unused code
    OMAPDSS: HDMI5: add support to set infoframe & HDMI mode
    OMAPDSS: HDMI4: add support to set infoframe & HDMI mode
    OMAPDSS: HDMI: add infoframe and hdmi_dvi_mode fields
    OMAPDSS: add hdmi ops to hdmi-connector and tpd12s015
    OMAPDSS: add hdmi ops to hdmi_ops and omap_dss_driver
    OMAPDSS: HDMI: remove custom avi infoframe
    OMAPDSS: HDMI5: use common AVI infoframe support
    OMAPDSS: HDMI4: use common AVI infoframe support
    OMAPDSS: Kconfig: select HDMI
    OMAPDSS: HDMI: fix name conflict
    OMAPDSS: DISPC: clean up dispc_mgr_timings_ok
    OMAPDSS: DISPC: reject interlace for lcd out
    OMAPDSS: DISPC: fix debugfs reg dump
    ...

    Linus Torvalds
     
  • Pull ARM SoC cleanups from Olof Johansson:
    "This merge window brings a good size of cleanups on various platforms.
    Among the bigger ones:

    - Removal of Samsung s5pc100 and s5p64xx platforms. Both of these
    have lacked active support for quite a while, and after asking
    around nobody showed interest in keeping them around. If needed,
    they could be resurrected in the future but it's more likely that
    we would prefer reintroduction of them as DT and
    multiplatform-enabled platforms instead.

    - OMAP4 controller code register define diet. They defined a lot of
    registers that were never actually used, etc.

    - Move of some of the Tegra platform code (PMC, APBIO, fuse,
    powergate) to drivers/soc so it can be shared with 64-bit code.
    This also converts them over to traditional driver models where
    possible.

    - Removal of legacy gpio-samsung driver, since the last users have
    been removed (moved to pinctrl)

    Plus a bunch of smaller changes for various platforms that sort of
    dissapear in the diffstat for the above. clps711x cleanups, shmobile
    header file refactoring/moves for multiplatform friendliness, some
    misc cleanups, etc"

    * tag 'cleanup-for-3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (117 commits)
    drivers: CCI: Correct use of ! and &
    video: clcd-versatile: Depend on ARM
    video: fix up versatile CLCD helper move
    MAINTAINERS: Add sdhci-st file to ARCH/STI architecture
    ARM: EXYNOS: Fix build breakge with PM_SLEEP=n
    MAINTAINERS: Remove Kirkwood
    ARM: tegra: Convert PMC to a driver
    soc/tegra: fuse: Set up in early initcall
    ARM: tegra: Always lock the CPU reset vector
    ARM: tegra: Setup CPU hotplug in a pure initcall
    soc/tegra: Implement runtime check for Tegra SoCs
    soc/tegra: fuse: fix dummy functions
    soc/tegra: fuse: move APB DMA into Tegra20 fuse driver
    soc/tegra: Add efuse and apbmisc bindings
    soc/tegra: Add efuse driver for Tegra
    ARM: tegra: move fuse exports to soc/tegra/fuse.h
    ARM: tegra: export apb dma readl/writel
    ARM: tegra: Use a function to get the chip ID
    ARM: tegra: Sort includes alphabetically
    ARM: tegra: Move includes to include/soc/tegra
    ...

    Linus Torvalds
     

03 Aug, 2014

1 commit

  • To support MIPI command mode based I80 interface panel,
    FIMD should do followings:
    - Sets LCD I80 interface timings configuration.
    - Uses "lcd_sys" as an IRQ resource and sets relevant IRQ configuration.
    - Sets LCD block configuration for I80 interface.
    - Sets ideal(pixel) clock is 2 times faster than the original one
    to generate frame done IRQ prior to the next TE signal.
    - Implements trigger feature that transfers image data if there is page
    flip request, and implements TE handler to call trigger function.

    Signed-off-by: YoungJun Cho
    Acked-by: Inki Dae
    Acked-by: Kyungmin Park
    Signed-off-by: Inki Dae

    YoungJun Cho
     

13 Jul, 2014

1 commit


04 Jul, 2014

1 commit


13 Jun, 2014

1 commit

  • Pull drm updates from Dave Airlie:
    "This is the main drm merge window pull request, changes all over the
    place, mostly normal levels of churn.

    Highlights:

    Core drm:
    More cleanups, fix race on connector/encoder naming, docs updates,
    object locking rework in prep for atomic modeset

    i915:
    mipi DSI support, valleyview power fixes, cursor size fixes,
    execlist refactoring, vblank improvements, userptr support, OOM
    handling improvements

    radeon:
    GPUVM tuning and large page size support, gart fixes, deep color
    HDMI support, HDMI audio cleanups

    nouveau:
    - displayport rework should fix lots of issues
    - initial gk20a support
    - gk110b support
    - gk208 fixes

    exynos:
    probe order fixes, HDMI changes, IPP consolidation

    msm:
    debugfs updates, misc fixes

    ast:
    ast2400 support, sync with UMS driver

    tegra:
    cleanups, hdmi + hw cursor for Tegra 124.

    panel:
    fixes existing panels add some new ones.

    ipuv3:
    moved from staging to drivers/gpu"

    * 'drm-next' of git://people.freedesktop.org/~airlied/linux: (761 commits)
    drm/nouveau/disp/dp: fix tmds passthrough on dp connector
    drm/nouveau/dp: probe dpcd to determine connectedness
    drm/nv50-: trigger update after all connectors disabled
    drm/nv50-: prepare for attaching a SOR to multiple heads
    drm/gf119-/disp: fix debug output on update failure
    drm/nouveau/disp/dp: make use of postcursor when its available
    drm/g94-/disp/dp: take max pullup value across all lanes
    drm/nouveau/bios/dp: parse lane postcursor data
    drm/nouveau/dp: fix support for dpms
    drm/nouveau: register a drm_dp_aux channel for each dp connector
    drm/g94-/disp: add method to power-off dp lanes
    drm/nouveau/disp/dp: maintain link in response to hpd signal
    drm/g94-/disp: bash and wait for something after changing lane power regs
    drm/nouveau/disp/dp: split link config/power into two steps
    drm/nv50/disp: train PIOR-attached DP from second supervisor
    drm/nouveau/disp/dp: make use of existing output data for link training
    drm/gf119/disp: start removing direct vbios parsing from supervisor
    drm/nv50/disp: start removing direct vbios parsing from supervisor
    drm/nouveau/disp/dp: maintain receiver caps in response to hpd signal
    drm/nouveau/disp/dp: create subclass for dp outputs
    ...

    Linus Torvalds
     

04 Jun, 2014

3 commits