[PATCH 00/29] Enabling new DAL display driver for amdgpu on Carrizo and Tonga

2016-02-12 Thread Dave Airlie
On 12 February 2016 at 03:19, Harry Wentland wrote: > This set of patches enables the new DAL display driver for amdgpu on Carrizo > Tonga, and Fiji ASICs. This driver will allow us going forward to bring > display features on the open amdgpu driver (mostly) on par with the Catalyst > driver. > >

[PATCH 06/29] drm/amd/dal: Adapter Service

2016-02-12 Thread Dave Airlie
> + > +/* Stores entire ASIC features by sets */ > +uint32_t adapter_feature_set[FEATURE_MAXIMUM/32]; Is this global, what about multiple GPUs in one machine, is this per GPU or per system? Dave.

[PATCH 00/29] Enabling new DAL display driver for amdgpu on Carrizo and Tonga

2016-02-12 Thread Dave Airlie
On 12 February 2016 at 07:06, Daniel Vetter wrote: > On Thu, Feb 11, 2016 at 9:52 PM, Dave Airlie wrote: >> On 12 February 2016 at 03:19, Harry Wentland >> wrote: >>> This set of patches enables the new DAL display driver for amdgpu on Carrizo >>> Tonga, and Fiji ASICs. This driver will allow u

[PATCH v6 00/15] ASoC: hdac_hdmi: Add DP & notification support

2016-02-12 Thread Subhransu S. Prusty
This patch series adds DP audio and hotplug notification support. In skylake platform the DP is on a different port which is not enabled by default. A vendor widget is programmed to enable playback on all ports. This also enables all the converters. Codec Dais, widgets, graph are now created dyna

[PATCH v6 08/15] drm/edid: Add API to help find connection type

2016-02-12 Thread Subhransu S. Prusty
To fill the audio infoframe it is required to identify the connection type as DP or HDMI. This patch adds an API which parses ELD and returns the display type connected. Signed-off-by: Subhransu S. Prusty Signed-off-by: Vinod Koul Reviewed-by: Jani Nikula Cc: David Airlie Cc: dri-devel at list

[Bug 90481] Radeonsi driver, X crash while playing "Spec ops: the line"

2016-02-12 Thread bugzilla-dae...@freedesktop.org
--- Still an issue with with Mesa 11.1.2 and Linux 4.5-rc3 -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160212/20423

[Bug 79504] LLVM error on fragment shader

2016-02-12 Thread bugzilla-dae...@freedesktop.org
part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160212/3c956a3e/attachment.html>

[Bug 70514] Unresponsive system on boot with radeon + FireGL v7700

2016-02-12 Thread bugzilla-dae...@freedesktop.org
ile your own report. -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160212/316e737e/attachment.html>

[Bug 79504] LLVM error on fragment shader

2016-02-12 Thread bugzilla-dae...@freedesktop.org
tps://lists.freedesktop.org/archives/dri-devel/attachments/20160212/ee70fe3f/attachment.html>

[git pull] drm amd fixes.

2016-02-12 Thread Dave Airlie
Hi Linus, Been pretty quiet, this is an amdgpu fixes pull from AMD, a bunch of powerplay stability fixes, race fix, hibernate fix, and a possible circular locking fix. Dave. The following changes since commit 388f7b1d6e8ca06762e2454d28d6c3c55ad0fe95: Linux 4.5-rc3 (2016-02-07 15:38:30 -0800)

[PATCH] drm/exynos: add mic_bypass option for exynos542x fimd

2016-02-12 Thread Inki Dae
Hi Chanho, There was a missing one so below is my review again. 2016년 02월 11일 22:59에 Chanho Park 이(가) 쓴 글: > Hi Inki, > > On Thu, Feb 11, 2016 at 7:37 PM, Inki Dae wrote: >> Hi Chanho, >> >> 2016년 01월 30일 22:58에 Chanho Park 이(가) 쓴 글: >>> From: Chanho Park >>> >>

[PATCH 00/29] Enabling new DAL display driver for amdgpu on Carrizo and Tonga

2016-02-12 Thread Daniel Vetter
On Thu, Feb 11, 2016 at 10:06:14PM +0100, Daniel Vetter wrote: > On Thu, Feb 11, 2016 at 9:52 PM, Dave Airlie wrote: > > On 12 February 2016 at 03:19, Harry Wentland > > wrote: > >> This set of patches enables the new DAL display driver for amdgpu on > >> Carrizo > >> Tonga, and Fiji ASICs. Thi

[PATCH 08/10] drm/exynos: initialize DMA ops for virtual Exynos DRM device

2016-02-12 Thread Inki Dae
Hi Marek, 2016년 02월 03일 21:42에 Marek Szyprowski 이(가) 쓴 글: > Virtual DRM device is used for memory allocation for GEM objects. On > some architectures null dma operations are assigned for virtual devices > if no explicit initialization has been made. > > Signed-off-by: Marek Szypro

[PATCH v3 2/2] drm: remove drm_device_is_unplugged and related code

2016-02-12 Thread Daniel Vetter
On Thu, Feb 11, 2016 at 01:57:30PM -0800, Haixia Shi wrote: > When a UDL monitor is unplugged, we need to still treat it as a fully > functional device which just happens to have its connector unplugged. > This allows user-space to properly deallocate fbs and dumb buffers > before closing the devic

[PATCH] drm/exynos/decon: fix disable clocks order

2016-02-12 Thread Inki Dae
Picked it up. Thanks, Inki Dae 2016년 02월 11일 20:25에 Andrzej Hajda 이(가) 쓴 글: > Decon requires that clocks should be disabled in reverse order. Otherwise > system hangs. > > Signed-off-by: Andrzej Hajda > --- > drivers/gpu/drm/exynos/exynos5433_drm_decon.c | 4 ++-- > 1 file chan

[PATCH] drm/exynos: fix incorrect cpu address for dma_mmap_attrs()

2016-02-12 Thread Inki Dae
Picked it up. Thanks, Inki Dae 2016년 02월 11일 20:32에 Marek Szyprowski 이(가) 쓴 글: > dma_mmap_attrs() should be called with cpu address returned by > dma_alloc_attrs(). Existing code however passed pages array base as cpu > address. This worked only by a pure luck on ARM architecture.

[PULL] drm-intel-fixes

2016-02-12 Thread Jani Nikula
Hi Dave - Intel fixes all around, mostly display. Sorry I'm late this week. BR, Jani. The following changes since commit 388f7b1d6e8ca06762e2454d28d6c3c55ad0fe95: Linux 4.5-rc3 (2016-02-07 15:38:30 -0800) are available in the git repository at: git://anongit.freedesktop.org/drm-intel tag

[PATCH] radeon: Define SI_TILE_MODE_COLOR_2D_SCANOUT_8BPP for consistency and readability - libdrm

2016-02-12 Thread Michel Dänzer
On 12.02.2016 09:32, Alexandre Demers wrote: > --- > include/drm/radeon_drm.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/drm/radeon_drm.h b/include/drm/radeon_drm.h > index cd31794..e57640a 100644 > --- a/include/drm/radeon_drm.h > +++ b/include/drm/radeon_drm.h > @@ -1026,6

[PATCH] radeon: Define SI_TILE_MODE_COLOR_2D_SCANOUT_8BPP for consistency and readability

2016-02-12 Thread Michel Dänzer
On 12.02.2016 09:29, Alexandre Demers wrote: > --- > drivers/gpu/drm/radeon/atombios_crtc.c | 2 +- > include/uapi/drm/radeon_drm.h | 1 + > 2 files changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/radeon/atombios_crtc.c > b/drivers/gpu/drm/radeon/atombios_crtc.c

[PATCH] drm/exynos: add mic_bypass option for exynos542x fimd

2016-02-12 Thread Chanho Park
Hi, On Fri, Feb 12, 2016 at 1:56 PM, Inki Dae wrote: > Hi Chanho, > > There was a missing one so below is my review again. > > 2016년 02월 11일 22:59에 Chanho Park 이(가) 쓴 글: >> Hi Inki, >> >> On Thu, Feb 11, 2016 at 7:37 PM, Inki Dae wrote: >>> Hi Chanho, >>> >>> 2016년 01월 30일

[PATCH] drm/exynos: add mic_bypass option for exynos542x fimd

2016-02-12 Thread Inki Dae
Hi Chanho, 2016년 02월 12일 16:39에 Chanho Park 이(가) 쓴 글: > Hi, > > On Fri, Feb 12, 2016 at 1:56 PM, Inki Dae wrote: >> Hi Chanho, >> >> There was a missing one so below is my review again. >> >> 2016년 02월 11일 22:59에 Chanho Park 이(가) 쓴 글: >>> Hi Inki, >>> >>> On Thu,

[PATCH] drm/exynos: add mic_bypass option for exynos542x fimd

2016-02-12 Thread Chanho Park
Hi, On Fri, Feb 12, 2016 at 5:04 PM, Inki Dae wrote: > Hi Chanho, > > 2016년 02월 12일 16:39에 Chanho Park 이(가) 쓴 글: >> Hi, >> >> On Fri, Feb 12, 2016 at 1:56 PM, Inki Dae wrote: >>> Hi Chanho, >>> >>> There was a missing one so below is my review again. >>> >>> 2016년 02월 11일 2

[PATCH 08/10] drm/exynos: initialize DMA ops for virtual Exynos DRM device

2016-02-12 Thread Marek Szyprowski
Hello, On 2016-02-12 06:55, Inki Dae wrote: > Hi Marek, > > 2016년 02월 03일 21:42에 Marek Szyprowski 이(가) 쓴 글: >> Virtual DRM device is used for memory allocation for GEM objects. On >> some architectures null dma operations are assigned for virtual devices >> if no explicit initializ

[PATCH 0/5] drm/sti: planes bug fixes and improvment

2016-02-12 Thread Vincent Abriou
This set of patch is about planes. It bring the support of the atomic_check for the planes. It also fix some bugs around cursor and gdp. Bich Hemon (2): drm/sti: fallback for GDP scaling drm/sti: adapt YUV colorspace in display pipeline Fabien Dessenne (1): drm/sti: force cursor CLUT fetch

[PATCH 1/5] drm/sti: fallback for GDP scaling

2016-02-12 Thread Vincent Abriou
From: Bich Hemon When a GDP gets a scale request (which it does not support), it accepts it but crops or clamps and outputs a warning message. Signed-off-by: Bich Hemon --- drivers/gpu/drm/sti/sti_gdp.c | 36 +++- 1 file changed, 31 insertions(+), 5 deletions(-)

[PATCH 2/5] drm/sti: GDP cropping fails when we remove 2 pixels horizontally

2016-02-12 Thread Vincent Abriou
GDP source width should be equal to the destination width to get rid of this issue. Signed-off-by: Vincent Abriou --- drivers/gpu/drm/sti/sti_gdp.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/sti/sti_gdp.c b/drivers/gpu/drm/sti/sti_gdp.c index 0a6

[PATCH 3/5] drm/sti: force cursor CLUT fetch

2016-02-12 Thread Vincent Abriou
From: Fabien Dessenne It may happen that the cursor is displayed with wrong colors which can be explained by a CLUT wrongly fetched at the first display. Fetching the CLUT at each commit (=move) ensures that the right colors are used, at least from the first cursor move. Signed-off-by: Fabien De

[PATCH 4/5] drm/sti: implement atomic_check for the planes

2016-02-12 Thread Vincent Abriou
Atomic update should never fail. Thus all checks must be done in the atomic_check function for each plane (gdp, hqvdp and cursor). Signed-off-by: Vincent Abriou --- drivers/gpu/drm/sti/sti_cursor.c | 90 +--- drivers/gpu/drm/sti/sti_gdp.c| 173 ++-

[PATCH 5/5] drm/sti: adapt YUV colorspace in display pipeline

2016-02-12 Thread Vincent Abriou
From: Bich Hemon Use BT601 for SD/ED resolution and BT709 for HD resolution Signed-off-by: Bich Hemon --- drivers/gpu/drm/sti/sti_tvout.c | 61 ++--- drivers/gpu/drm/sti/sti_vid.c | 31 + 2 files changed, 64 insertions(+), 28 deletions(

[PATCH 00/11] drm/sti: encoders/connectors bug fixes

2016-02-12 Thread Vincent Abriou
This bunch of patches deals with encoders and connectors. For the HDMI connector, it bring the support of the vendor specific infoframe and bring the support of 2 HDMI connector properties. It also solves the panel detection and timing issues on the DVO connector and force the HDA connector reset a

[PATCH 02/11] drm/sti: fix panel detection for DVO connector

2016-02-12 Thread Vincent Abriou
The DVO connector is tag as disconnect because of a wrong management of the panel detection. Signed-off-by: Vincent Abriou --- drivers/gpu/drm/sti/sti_dvo.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/sti/sti_dvo.c b/drivers/gpu/drm/sti/sti_dvo.c i

[PATCH 01/11] drm/sti: do not clip RGB/YUV component value at connector side

2016-02-12 Thread Vincent Abriou
Disable the clipping mode for hdmi, dvo and hda connectors. Signed-off-by: Vincent Abriou --- drivers/gpu/drm/sti/sti_tvout.c | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm/sti/sti_tvout.c b/drivers/gpu/drm/sti/sti_tvout.c index 1c27a2c..784a3e

[PATCH 03/11] drm/sti: add missing encoder cleanup for DVO connector

2016-02-12 Thread Vincent Abriou
Signed-off-by: Vincent Abriou --- drivers/gpu/drm/sti/sti_tvout.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/sti/sti_tvout.c b/drivers/gpu/drm/sti/sti_tvout.c index 784a3e2..0b171fd 100644 --- a/drivers/gpu/drm/sti/sti_tvout.c +++ b/drivers/gpu/drm/sti/sti_tvout.c @@

[PATCH 04/11] drm/sti: adjust delay for DVO

2016-02-12 Thread Vincent Abriou
From: Bich Hemon Modify delay to display last pixel column on DVO Signed-off-by: Bich Hemon --- drivers/gpu/drm/sti/sti_vtg.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/sti/sti_vtg.c b/drivers/gpu/drm/sti/sti_vtg.c index 313d703..32c7986 100644 ---

[PATCH 05/11] drm/sti: fix dvo data_enable signal

2016-02-12 Thread Vincent Abriou
From: Bich Hemon Modify AWG algorithm in order to handle more than 1023 lines Signed-off-by: Bich Hemon --- drivers/gpu/drm/sti/sti_awg_utils.c | 51 + 1 file changed, 35 insertions(+), 16 deletions(-) diff --git a/drivers/gpu/drm/sti/sti_awg_utils.c b/dri

[PATCH 06/11] drm/sti: reset HD DACS when HDA connector is created

2016-02-12 Thread Vincent Abriou
Make sure the HD DACS are disabled when the HDA connector is created. Signed-off-by: Vincent Abriou --- drivers/gpu/drm/sti/sti_hda.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/sti/sti_hda.c b/drivers/gpu/drm/sti/sti_hda.c index 49cce83..293a133 100644 --- a/drivers/g

[PATCH 07/11] drm/sti: HDMI infoframe transmission mode not take into account

2016-02-12 Thread Vincent Abriou
Set the infoframe transmission mode according to the type of the infoframe. Signed-off-by: Vincent Abriou --- drivers/gpu/drm/sti/sti_hdmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/sti/sti_hdmi.c b/drivers/gpu/drm/sti/sti_hdmi.c index cd50156..8537852

[PATCH 09/11] drm/sti: add HDMI vendor specific infoframe

2016-02-12 Thread Vincent Abriou
Vendor specific infoframe is mandatory for 4K2K resolution. Without this, the HDMI protocol compliance fails. Signed-off-by: Vincent Abriou --- drivers/gpu/drm/sti/sti_hdmi.c | 82 +- 1 file changed, 73 insertions(+), 9 deletions(-) diff --git a/drivers/g

[PATCH 08/11] drm/sti: reset infoframe transmission when HDMI is stopped

2016-02-12 Thread Vincent Abriou
Clear all infoframe registers when the HDMI link is stopped. Signed-off-by: Vincent Abriou --- drivers/gpu/drm/sti/sti_hdmi.c | 43 ++ 1 file changed, 43 insertions(+) diff --git a/drivers/gpu/drm/sti/sti_hdmi.c b/drivers/gpu/drm/sti/sti_hdmi.c index 8537

[PATCH 10/11] drm/sti: add colorspace property to the HDMI connector

2016-02-12 Thread Vincent Abriou
Make the value of the colorspace of the HDMI infoframe configurable. HDMI colorspace could be: RGB, YUV422 or YUV444 Signed-off-by: Vincent Abriou --- drivers/gpu/drm/sti/sti_hdmi.c | 68 +- drivers/gpu/drm/sti/sti_hdmi.h | 12 2 files changed, 79

[PATCH 11/11] drm/sti: add hdmi_mode property for HDMI connector

2016-02-12 Thread Vincent Abriou
Configures the framer of the HDMI connection. By default starts in HDMI mode and can be swtich to DVI. Signed-off-by: Vincent Abriou --- drivers/gpu/drm/sti/sti_hdmi.c | 30 -- drivers/gpu/drm/sti/sti_hdmi.h | 15 +++ 2 files changed, 43 insertions(+), 2 d

[PATCH 00/10] drm/sti: debugfs

2016-02-12 Thread Vincent Abriou
Those patches introduce debugfs for connector, encoder, crtc and planes. It adds the following entries: - planes: gdpx / gdpx_node hqvdp cursor vid fps_get / fps_show - crtc: mixer_aux / mixer_main - encoder: tvout - connectors: hda hdmi dvo Vincent Abriou (10)

[PATCH 01/10] drm/sti: add debugfs entries for HDMI connector

2016-02-12 Thread Vincent Abriou
Signed-off-by: Vincent Abriou --- drivers/gpu/drm/sti/sti_hdmi.c | 175 - drivers/gpu/drm/sti/sti_hdmi.h | 4 +- 2 files changed, 175 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/sti/sti_hdmi.c b/drivers/gpu/drm/sti/sti_hdmi.c index 69a2286

[PATCH 02/10] drm/sti: add debugfs entries for DVO connector

2016-02-12 Thread Vincent Abriou
Signed-off-by: Vincent Abriou --- drivers/gpu/drm/sti/sti_dvo.c | 70 +++ 1 file changed, 70 insertions(+) diff --git a/drivers/gpu/drm/sti/sti_dvo.c b/drivers/gpu/drm/sti/sti_dvo.c index 9e90b74..25f7663 100644 --- a/drivers/gpu/drm/sti/sti_dvo.c +++ b/dr

[PATCH 04/10] drm/sti: add debugfs entries for CURSOR plane

2016-02-12 Thread Vincent Abriou
Signed-off-by: Vincent Abriou --- drivers/gpu/drm/sti/sti_cursor.c | 79 1 file changed, 79 insertions(+) diff --git a/drivers/gpu/drm/sti/sti_cursor.c b/drivers/gpu/drm/sti/sti_cursor.c index a4c67ab..9eac1b9 100644 --- a/drivers/gpu/drm/sti/sti_cursor.c

[PATCH 03/10] drm/sti: add debugfs entries for HDA connector

2016-02-12 Thread Vincent Abriou
Signed-off-by: Vincent Abriou --- drivers/gpu/drm/sti/sti_hda.c | 105 +- 1 file changed, 104 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/sti/sti_hda.c b/drivers/gpu/drm/sti/sti_hda.c index 293a133..ec0d017 100644 --- a/drivers/gpu/drm/sti/st

[PATCH 05/10] drm/sti: add debugfs entries for GDP planes

2016-02-12 Thread Vincent Abriou
Signed-off-by: Vincent Abriou --- drivers/gpu/drm/sti/sti_gdp.c | 236 ++ 1 file changed, 236 insertions(+) diff --git a/drivers/gpu/drm/sti/sti_gdp.c b/drivers/gpu/drm/sti/sti_gdp.c index a6fba9c..8f0e89f 100644 --- a/drivers/gpu/drm/sti/sti_gdp.c +++ b/d

[PATCH 06/10] drm/sti: add debugfs entries for HQVDP plane

2016-02-12 Thread Vincent Abriou
Signed-off-by: Vincent Abriou --- drivers/gpu/drm/sti/sti_hqvdp.c | 243 1 file changed, 243 insertions(+) diff --git a/drivers/gpu/drm/sti/sti_hqvdp.c b/drivers/gpu/drm/sti/sti_hqvdp.c index eace56d..8d2118a 100644 --- a/drivers/gpu/drm/sti/sti_hqvdp.c +

[PATCH 07/10] drm/sti: add debugfs entries for VID plane

2016-02-12 Thread Vincent Abriou
Signed-off-by: Vincent Abriou --- drivers/gpu/drm/sti/sti_compositor.c | 2 +- drivers/gpu/drm/sti/sti_vid.c| 94 +++- drivers/gpu/drm/sti/sti_vid.h| 4 +- 3 files changed, 95 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/sti/sti_com

[PATCH 09/10] drm/sti: add debugfs entries for TVOUT encoders

2016-02-12 Thread Vincent Abriou
Signed-off-by: Vincent Abriou --- drivers/gpu/drm/sti/sti_tvout.c | 157 1 file changed, 157 insertions(+) diff --git a/drivers/gpu/drm/sti/sti_tvout.c b/drivers/gpu/drm/sti/sti_tvout.c index 0b171fd..d4bb953 100644 --- a/drivers/gpu/drm/sti/sti_tvout.c +

[PATCH 08/10] drm/sti: add debugfs entries for MIXER crtc

2016-02-12 Thread Vincent Abriou
Signed-off-by: Vincent Abriou --- drivers/gpu/drm/sti/sti_compositor.c | 2 +- drivers/gpu/drm/sti/sti_mixer.c | 146 ++- drivers/gpu/drm/sti/sti_mixer.h | 4 +- 3 files changed, 149 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/sti/sti_

[PATCH 10/10] drm/sti: add debugfs fps_show/fps_get mechanism for planes

2016-02-12 Thread Vincent Abriou
Display fps on demand for each used plane: cat /sys/kernel/debug/dri/0/fps_get Display fps in live in the console for each used plane: echo 255 > /sys/kernel/debug/dri/0/fps_show Signed-off-by: Vincent Abriou --- drivers/gpu/drm/sti/sti_cursor.c | 2 + drivers/gpu/drm/sti/sti_drv.c| 128 ++

[PATCH v5 0/5] drm/dsi: DSI for devices with different control bus

2016-02-12 Thread Archit Taneja
We are currently restricted when it comes to supporting DSI on devices that have a non-DSI control bus. For example, DSI encoder chips are available in the market that are configured via i2c. Configuring their registers via DSI bus is either optional or not available at all. These devices still ne

[PATCH v5 1/5] drm/dsi: check for CONFIG_OF when defining of_mipi_dsi_device_add

2016-02-12 Thread Archit Taneja
of_mipi_dsi_device_add is used only when CONFIG_OF is enabled. It currently works if OF support is disabled, but this will change when we add more functionality to it. Define the original func if CONFIG_OF is enabled. Define a dummy func otherwise. Signed-off-by: Archit Taneja --- drivers/gpu/d

[PATCH v5 2/5] drm/dsi: Use mipi_dsi_device_register_full for DSI device creation

2016-02-12 Thread Archit Taneja
Use mipi_dsi_device_register_full for device creation. This takes in mipi_dsi_device_info as a template to populate the DSI device information. The reason to introduce this is to have a way to create DSI devices not available via DT. Drivers that want to create a DSI device can populate mipi_dsi_d

[PATCH v5 3/5] drm/dsi: Try to match non-DT DSI devices

2016-02-12 Thread Archit Taneja
Add a device name field in mipi_dsi_device. This name is different from the actual dev name (which is of the format "hostname.reg"). When the device is created via DT, this name is set to the modalias string. In the non-DT case, the driver creating the DSI device provides the name by populating a f

[PATCH v5 4/5] drm/dsi: Add routine to unregister a DSI device

2016-02-12 Thread Archit Taneja
A driver calling mipi_dsi_device_register_full might want to unregister the device once it's done. It might also require it in an error handling path in case something didn't go right. Create mipi_dsi_device_unregister for this purpse, use it within mipi_dsi_remove_device_fn as it does the same th

[PATCH v5 5/5] drm/dsi: Get DSI host by DT device node

2016-02-12 Thread Archit Taneja
MIPI DSI devices are inherently aware of their host because they share a parent-child hierarchy in the device tree. Non-DSI drivers that create DSI device don't have this data. In order to get this information, they require to a phandle to the DSI host in the device tree. Maintain a list of all t

[PATCH 1/4] drm/sti: update VTG timing programming

2016-02-12 Thread Vincent Abriou
This update eases to understand the VTG programming. It also sets a VTG output id for each supported connectors. Signed-off-by: Vincent Abriou --- drivers/gpu/drm/sti/sti_tvout.c | 59 ++-- drivers/gpu/drm/sti/sti_vtg.c | 197 drivers/gpu/drm/s

[PATCH 4/4] drm/sti: GDP planes only support RGB formats

2016-02-12 Thread Vincent Abriou
From: Bich Hemon Only RGB formats supported by GDP planes Signed-off-by: Bich Hemon --- drivers/gpu/drm/sti/sti_gdp.c | 17 - 1 file changed, 17 deletions(-) diff --git a/drivers/gpu/drm/sti/sti_gdp.c b/drivers/gpu/drm/sti/sti_gdp.c index 990b28e..a34284be 100644 --- a/drivers

[PATCH 00/10] Exynos DRM: various fixes for 64bit and Exynos5433

2016-02-12 Thread Andrzej Hajda
Hi Emil, On 02/08/2016 12:14 PM, Emil Velikov wrote: > Hi Marek, > > On 3 February 2016 at 12:42, Marek Szyprowski > wrote: >> Hello all, >> >> This patch series is a set of various fixes to get Exynos DRM working on >> Exynos 5433 SoCs and 64bit ARM64 architecture. >> > As you mentioned "64bi

[PATCH 0/4] drm/sti: cleanup and minor fixes

2016-02-12 Thread Vincent Abriou
Those patches bring some cleaness on some functions and comments. Bich Hemon (2): drm/sti: awg_utils code cleanup drm/sti: GDP planes only support RGB formats Fabien Dessenne (1): drm/sti: clarify the skip frame/field message Vincent Abriou (1): drm/sti: update VTG timing programming d

[PATCH 2/4] drm/sti: awg_utils code cleanup

2016-02-12 Thread Vincent Abriou
From: Bich Hemon data_en is a local variable that doesn't need to be set as awg_generate_instr can be called directly with the requested value. Signed-off-by: Bich Hemon --- drivers/gpu/drm/sti/sti_awg_utils.c | 33 - 1 file changed, 12 insertions(+), 21 deletio

[PATCH 0/2] drm/sti: support of interlaced content with Bottom Field

2016-02-12 Thread Vincent Abriou
Interlaced video can have different scan order: Top Field First or Bottom Field First In case of video with interlaced content, this information should be propagated from the userland to the DRM kernel driver that will process the deinterlacing starting with the top or the bottom field first. That

[PATCH 1/2] drm: Add DRM_MODE_FB_BFF flag definition

2016-02-12 Thread Vincent Abriou
From: Fabien Dessenne If a buffer is interlaced, this "Bottom Field First" flag specifies which of the top or the bottom field shall be displayed first. When set, the bottom field shall be displayed first. When unset the top field shall be displayed first. Signed-off-by: Fabien Dessenne --- dr

[PATCH 2/2] drm/sti: support interlaced top / bottom field first

2016-02-12 Thread Vincent Abriou
From: Fabien Dessenne Support top field first and bottom field first interlaced buffers Signed-off-by: Fabien Dessenne --- drivers/gpu/drm/sti/sti_hqvdp.c | 72 + 1 file changed, 44 insertions(+), 28 deletions(-) diff --git a/drivers/gpu/drm/sti/sti_hqv

[PATCH 3/4] drm/sti: clarify the skip frame/field message

2016-02-12 Thread Vincent Abriou
From: Fabien Dessenne When a frame or a field is skipped, output a Warning message instead of an Error message. Signed-off-by: Fabien Dessenne --- drivers/gpu/drm/sti/sti_hqvdp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/sti/sti_hqvdp.c b/drivers/g

[REGRESSION] i915: No HDMI output with 4.4

2016-02-12 Thread Oleksandr Natalenko
Ville, I've applied patch you've provided and did couple of replugging with intel_reg in between. Here are the results. I used additional VGA cable to see what actually I type in console :). Both HDMI and VGA cables plugged: [1] Both HDMI and VGA cables unplugged: [2] Only HDMI cable plugged: [

[PATCH v10 1/4] drm/kms_helper: Add a common place to call init and exit functions.

2016-02-12 Thread Ville Syrjälä
On Thu, Jan 21, 2016 at 03:10:18PM -0800, Rafael Antognolli wrote: > The module_init and module_exit functions will start here, and call the > subsequent init's and exit's. > > v10: > - Keep __init on drm_fb_helper init function. > - Move MODULE_* macros to the common file. > > Signed-off-by: R

[Intel-gfx] [PATCH v10 2/4] drm/dp: Add a drm_aux-dev module for reading/writing dpcd registers.

2016-02-12 Thread Ville Syrjälä
On Thu, Jan 21, 2016 at 03:10:19PM -0800, Rafael Antognolli wrote: > This module is heavily based on i2c-dev. Once loaded, it provides one > dev node per DP AUX channel, named drm_dp_auxN, where N is an integer. > > It's possible to know which connector owns this aux channel by looking > at the re

[PATCH 1/4] drm/exynos: remove struct exynos_drm_panel_info

2016-02-12 Thread Andrzej Hajda
struct exynos_drm_panel_info is not used anymore, except exynos_dp, which can integrate useful fields directly into its context. Signed-off-by: Andrzej Hajda --- drivers/gpu/drm/exynos/exynos7_drm_decon.c | 1 - drivers/gpu/drm/exynos/exynos_dp_core.c| 7 ++- drivers/gpu/drm/exynos/exy

[PATCH 0/4] drm/exynos: cleanup of header files

2016-02-12 Thread Andrzej Hajda
Hi Inki, This small cleanup series is based on exynos-drm-next. Regards Andrzej Andrzej Hajda (4): drm/exynos: remove struct exynos_drm_panel_info drm/exynos/fimc: remove unused camera interface polarization code drm/exynos: remove platform data structures and include/drm/exynos_drm.h

[PATCH 4/4] drm/exynos: use arch independent types in uapi header

2016-02-12 Thread Andrzej Hajda
User API structs should not use types which size/alignment/padding depends on architecture. The patch fixes it for all structures except drm_exynos_g2d_userptr, as g2d related stuff seems to be more complicated and will be reviewed/adjusted later. Signed-off-by: Andrzej Hajda --- include/uapi/dr

[PATCH 2/4] drm/exynos/fimc: remove unused camera interface polarization code

2016-02-12 Thread Andrzej Hajda
Polarization was never configured for DRM-FIMC device, so fimc_set_polarity function did nothing. In fact DRM does not use camera interface so there is no point in configuring it. Signed-off-by: Andrzej Hajda --- drivers/gpu/drm/exynos/exynos_drm_fimc.c | 28 1 file

[PATCH 3/4] drm/exynos: remove platform data structures and include/drm/exynos_drm.h

2016-02-12 Thread Andrzej Hajda
Platform data structures are not used for long time so the whole header file can be safely removed. Signed-off-by: Andrzej Hajda --- include/drm/exynos_drm.h | 86 1 file changed, 86 deletions(-) delete mode 100644 include/drm/exynos_drm.h diff

[Bug 38454] [KMS] ATI RV280 ennoying many OpenGL troubles

2016-02-12 Thread bugzilla-dae...@freedesktop.org
tps://lists.freedesktop.org/archives/dri-devel/attachments/20160212/50ccf91c/attachment.html>

[PULL] topic/drm-misc

2016-02-12 Thread Daniel Vetter
Hi Dave, More drm-misc stuff: - vgaswitcheroo support for apple gmux from Lukas Wunner - checks for ->mode_fixup in non-atomic helpers from Carlos Palminha, plus removing dummy funcs from drivers. Carlos promised to follow up with more, since there's lots more silly dummy functions around. - d

[Intel-gfx] [PATCH v10 2/4] drm/dp: Add a drm_aux-dev module for reading/writing dpcd registers.

2016-02-12 Thread Daniel Vetter
On Fri, Feb 12, 2016 at 01:53:10PM +0200, Ville Syrjälä wrote: > On Thu, Jan 21, 2016 at 03:10:19PM -0800, Rafael Antognolli wrote: > > This module is heavily based on i2c-dev. Once loaded, it provides one > > dev node per DP AUX channel, named drm_dp_auxN, where N is an integer. > > > > It's po

[PATCH 0/2] Support exynos5420-fimd

2016-02-12 Thread Chanho Park
This patchset introduces exynos5420-fimd compatible to support a mic-bypass option from display path. Since exynos5420, the option has been introduced and controlled by system register. The option is only available for exynos5420/exynos5422 and 5800, we need to add the new exynos5420-fimd compatibl

[PATCH 1/2] drm/exynos: add exynos5420 support for fimd

2016-02-12 Thread Chanho Park
This patch adds a exynos5420 driver data to support mic_bypass option to bypass the mic from display out path. The mic(Mobile image compressor) compresses RGB data from fimd and send the compressed data to the mipi dsi. The bypass option can be founded from system register and the bit is 11. The op

[PATCH 2/2] ARM: dts: add exynos5420-fimd compatible

2016-02-12 Thread Chanho Park
This patch changes the compatible of exynos5420 fimd to "exynos5420-fimd". To support mic bypass from display path, the new compatible is introduced for exynos5420. Cc: Inki Dae Cc: Kukjin Kim Cc: Krzysztof Kozlowski Signed-off-by: Chanho Park --- arch/arm/boot/dts/exynos5420.dtsi | 1 + 1 fi

[PATCH 04/17] drm/amdgpu: removed optional dummy encoder mode_fixup function.

2016-02-12 Thread Carlos Palminha
--- drivers/gpu/drm/amd/amdgpu/dce_v10_0.c | 8 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c | 8 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c | 8 3 files changed, 24 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/dce_v10_0.c b/drivers/gpu/drm/amd/amdgpu/dce_v10_0.c index 0

[PATCH 01/17] drm/virtio: removed optional dummy encoder mode_fixup function.

2016-02-12 Thread Carlos Palminha
--- drivers/gpu/drm/virtio/virtgpu_display.c | 8 1 file changed, 8 deletions(-) diff --git a/drivers/gpu/drm/virtio/virtgpu_display.c b/drivers/gpu/drm/virtio/virtgpu_display.c index a165f03..429aa31 100644 --- a/drivers/gpu/drm/virtio/virtgpu_display.c +++ b/drivers/gpu/drm/virtio/vir

[PATCH 00/17] drm encoders cleanup: nuke optional dummy encoder mode_fixup function.

2016-02-12 Thread Carlos Palminha
mode_fixup function for encoder drivers became optional with patch http://patchwork.freedesktop.org/patch/msgid/1455106522-32307-1-git-send-email-palminha at synopsys.com This patch set nukes all the dummy mode_fixup implementations. (made on top of Daniel topic/drm-misc branch) Carlos Palminha

[PATCH 04/17] drm/amdgpu: removed optional dummy encoder mode_fixup function.

2016-02-12 Thread Carlos Palminha
--- drivers/gpu/drm/amd/amdgpu/dce_v10_0.c | 8 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c | 8 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c | 8 3 files changed, 24 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/dce_v10_0.c b/drivers/gpu/drm/amd/amdgpu/dce_v10_0.c index 0

[PATCH 00/17] drm encoders cleanup: nuke optional dummy encoder mode_fixup function.

2016-02-12 Thread Carlos Palminha
mode_fixup function for encoder drivers became optional with patch http://patchwork.freedesktop.org/patch/msgid/1455106522-32307-1-git-send-email-palminha at synopsys.com This patch set nukes all the dummy mode_fixup implementations. (made on top of Daniel topic/drm-misc branch) Carlos Palminha

[PATCH 03/17] drm/exynos: removed optional dummy encoder mode_fixup function.

2016-02-12 Thread Carlos Palminha
--- drivers/gpu/drm/exynos/exynos_drm_dsi.c | 8 1 file changed, 8 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_dsi.c b/drivers/gpu/drm/exynos/exynos_drm_dsi.c index e977a81..736115c 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_dsi.c +++ b/drivers/gpu/drm/exynos/exynos_

[PATCH 02/17] drm/udl: removed optional dummy encoder mode_fixup function.

2016-02-12 Thread Carlos Palminha
--- drivers/gpu/drm/udl/udl_encoder.c | 8 1 file changed, 8 deletions(-) diff --git a/drivers/gpu/drm/udl/udl_encoder.c b/drivers/gpu/drm/udl/udl_encoder.c index a181a64..59a4b34 100644 --- a/drivers/gpu/drm/udl/udl_encoder.c +++ b/drivers/gpu/drm/udl/udl_encoder.c @@ -26,13 +26,6 @@ s

[PATCH 03/17] drm/exynos: removed optional dummy encoder mode_fixup function.

2016-02-12 Thread Carlos Palminha
--- drivers/gpu/drm/exynos/exynos_drm_dsi.c | 8 1 file changed, 8 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_dsi.c b/drivers/gpu/drm/exynos/exynos_drm_dsi.c index e977a81..736115c 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_dsi.c +++ b/drivers/gpu/drm/exynos/exynos_

[PATCH 01/17] drm/virtio: removed optional dummy encoder mode_fixup function.

2016-02-12 Thread Carlos Palminha
--- drivers/gpu/drm/virtio/virtgpu_display.c | 8 1 file changed, 8 deletions(-) diff --git a/drivers/gpu/drm/virtio/virtgpu_display.c b/drivers/gpu/drm/virtio/virtgpu_display.c index a165f03..429aa31 100644 --- a/drivers/gpu/drm/virtio/virtgpu_display.c +++ b/drivers/gpu/drm/virtio/vir

[PATCH 02/17] drm/udl: removed optional dummy encoder mode_fixup function.

2016-02-12 Thread Carlos Palminha
--- drivers/gpu/drm/udl/udl_encoder.c | 8 1 file changed, 8 deletions(-) diff --git a/drivers/gpu/drm/udl/udl_encoder.c b/drivers/gpu/drm/udl/udl_encoder.c index a181a64..59a4b34 100644 --- a/drivers/gpu/drm/udl/udl_encoder.c +++ b/drivers/gpu/drm/udl/udl_encoder.c @@ -26,13 +26,6 @@ s

[PATCH 05/17] drm/ast: removed optional dummy encoder mode_fixup function.

2016-02-12 Thread Carlos Palminha
--- drivers/gpu/drm/ast/ast_mode.c | 8 1 file changed, 8 deletions(-) diff --git a/drivers/gpu/drm/ast/ast_mode.c b/drivers/gpu/drm/ast/ast_mode.c index 0123458..f221e2d 100644 --- a/drivers/gpu/drm/ast/ast_mode.c +++ b/drivers/gpu/drm/ast/ast_mode.c @@ -710,13 +710,6 @@ static void ast

[PATCH 06/17] drm/bochs: removed optional dummy encoder mode_fixup function.

2016-02-12 Thread Carlos Palminha
--- drivers/gpu/drm/bochs/bochs_kms.c | 8 1 file changed, 8 deletions(-) diff --git a/drivers/gpu/drm/bochs/bochs_kms.c b/drivers/gpu/drm/bochs/bochs_kms.c index 2849f1b..317c27f 100644 --- a/drivers/gpu/drm/bochs/bochs_kms.c +++ b/drivers/gpu/drm/bochs/bochs_kms.c @@ -152,13 +152,6 @@

[PATCH 08/17] drm/exynos: removed optional dummy encoder mode_fixup function.

2016-02-12 Thread Carlos Palminha
--- drivers/gpu/drm/exynos/exynos_dp_core.c | 8 drivers/gpu/drm/exynos/exynos_drm_dpi.c | 8 drivers/gpu/drm/exynos/exynos_drm_vidi.c | 8 3 files changed, 24 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_dp_core.c b/drivers/gpu/drm/exynos/exynos_dp_core.c

[PATCH 09/17] drm/gma500: removed optional dummy encoder mode_fixup function.

2016-02-12 Thread Carlos Palminha
--- drivers/gpu/drm/gma500/cdv_intel_crt.c | 1 - drivers/gpu/drm/gma500/cdv_intel_hdmi.c | 1 - drivers/gpu/drm/gma500/gma_display.c| 7 --- drivers/gpu/drm/gma500/gma_display.h| 3 --- drivers/gpu/drm/gma500/oaktrail_hdmi.c | 1 - 5 files changed, 13 deletions(-) diff --git a/driv

[PATCH 10/17] drm/imx: removed optional dummy encoder mode_fixup function.

2016-02-12 Thread Carlos Palminha
--- drivers/gpu/drm/imx/dw_hdmi-imx.c | 8 drivers/gpu/drm/imx/imx-ldb.c | 8 drivers/gpu/drm/imx/imx-tve.c | 8 drivers/gpu/drm/imx/parallel-display.c | 8 4 files changed, 32 deletions(-) diff --git a/drivers/gpu/drm/imx/dw_hdmi-imx.c

[PATCH 15/17] drm/rockchip: removed optional dummy encoder mode_fixup function.

2016-02-12 Thread Carlos Palminha
--- drivers/gpu/drm/rockchip/dw-mipi-dsi.c | 8 1 file changed, 8 deletions(-) diff --git a/drivers/gpu/drm/rockchip/dw-mipi-dsi.c b/drivers/gpu/drm/rockchip/dw-mipi-dsi.c index f8f8f29..7766206 100644 --- a/drivers/gpu/drm/rockchip/dw-mipi-dsi.c +++ b/drivers/gpu/drm/rockchip/dw-mipi-d

[PATCH 07/17] drm/cirrus: removed optional dummy encoder mode_fixup function.

2016-02-12 Thread Carlos Palminha
--- drivers/gpu/drm/cirrus/cirrus_mode.c | 9 - 1 file changed, 9 deletions(-) diff --git a/drivers/gpu/drm/cirrus/cirrus_mode.c b/drivers/gpu/drm/cirrus/cirrus_mode.c index 4a02854..432ce94 100644 --- a/drivers/gpu/drm/cirrus/cirrus_mode.c +++ b/drivers/gpu/drm/cirrus/cirrus_mode.c @@ -

[PATCH 11/17] drm/msm/mdp: removed optional dummy encoder mode_fixup function.

2016-02-12 Thread Carlos Palminha
--- drivers/gpu/drm/msm/mdp/mdp4/mdp4_dsi_encoder.c | 8 drivers/gpu/drm/msm/mdp/mdp4/mdp4_dtv_encoder.c | 8 drivers/gpu/drm/msm/mdp/mdp4/mdp4_lcdc_encoder.c | 8 drivers/gpu/drm/msm/mdp/mdp5/mdp5_cmd_encoder.c | 9 - drivers/gpu/drm/msm/mdp/mdp5/mdp5_encoder

[PATCH 13/17] drm/qxl: removed optional dummy encoder mode_fixup function.

2016-02-12 Thread Carlos Palminha
--- drivers/gpu/drm/qxl/qxl_display.c | 9 - 1 file changed, 9 deletions(-) diff --git a/drivers/gpu/drm/qxl/qxl_display.c b/drivers/gpu/drm/qxl/qxl_display.c index 8627651..43e5f50 100644 --- a/drivers/gpu/drm/qxl/qxl_display.c +++ b/drivers/gpu/drm/qxl/qxl_display.c @@ -734,14 +734,6 @

  1   2   >