[PATCH] drm/exynos: fimd: fix page fault issue with iommu

2015-06-12 Thread Inki Dae
This patch resolves page fault issue with iommu and atomic feature when modetest test application is terminated. ENWIN_F field of WINCONx register enables or disable a dma channel to each hardware overlay - the value of the field will be updated to real register after vsync. So this patch makes

[PATCH 13/13] drm/amdkfd: Set correct doorbell packet type for Carrizo

2015-06-12 Thread Oded Gabbay
From: Ben Goz Signed-off-by: Ben Goz Reviewed-by: Yair Shachar Signed-off-by: Oded Gabbay --- drivers/gpu/drm/amd/amdkfd/kfd_topology.c | 5 + drivers/gpu/drm/amd/amdkfd/kfd_topology.h | 1 + 2 files changed, 6 insertions(+) diff --git

[PATCH 12/13] drm/amdkfd: Use generic defines in new amd headers

2015-06-12 Thread Oded Gabbay
This patch makes use of the new amd headers (that are part of the new amdgpu driver), instead of private defines. Signed-off-by: Oded Gabbay --- drivers/gpu/drm/amd/amdkfd/cik_regs.h| 11 --- .../drm/amd/amdkfd/kfd_device_queue_manager_cik.c| 12

[PATCH 11/13] drm/amdkfd: Implement create_map_queues() for Carrizo

2015-06-12 Thread Oded Gabbay
From: Ben Goz Signed-off-by: Ben Goz Signed-off-by: Oded Gabbay --- drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c | 91 +++-- 1 file changed, 87 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c

[PATCH 10/13] drm/amdkfd: fix runlist length calculation

2015-06-12 Thread Oded Gabbay
From: Ben Goz The MAP_QUEUES packet length for Carrizo is different than for Kaveri. Therefore, we now need to calculate the runlist length with regard to the underlying H/W. Signed-off-by: Ben Goz Signed-off-by: Oded Gabbay ---

[PATCH 09/13] drm/amdkfd: Add support for VI in DQM

2015-06-12 Thread Oded Gabbay
From: Ben Goz This patch adds support for the VI APU in the DQM module. Most of the functionality of DQM is shared between CI and VI. Therefore, only a handful of functions are required to be in the H/W-specific part of DQM. Signed-off-by: Ben Goz Signed-off-by: Oded Gabbay

[PATCH 08/13] drm/amdkfd: add support for VI in MQD manager

2015-06-12 Thread Oded Gabbay
From: Ben Goz This patch implements all the VI MQD manager functions. This is done in a different file as the MQD format is different between CI and VI Signed-off-by: Ben Goz Signed-off-by: Oded Gabbay --- drivers/gpu/drm/amd/amdkfd/Makefile | 3 +-

[PATCH 07/13] drm/amdkfd: add CP HWS packet headers for VI

2015-06-12 Thread Oded Gabbay
From: Ben Goz Signed-off-by: Ben Goz Signed-off-by: Oded Gabbay --- drivers/gpu/drm/amd/amdkfd/kfd_pm4_headers_vi.h | 398 1 file changed, 398 insertions(+) create mode 100644 drivers/gpu/drm/amd/amdkfd/kfd_pm4_headers_vi.h diff --git

[PATCH 06/13] drm/amdkfd: add supported CZ devices PCI IDs to amdkfd

2015-06-12 Thread Oded Gabbay
From: Ben Goz This patch adds the PCI IDs of supported CZ devices to the supported_devices structure in amdkfd. That structure is used during the amdkfd probing stage, to check if the currently probed device is eligible to be handled by amdkfd. Signed-off-by: Ben Goz

[PATCH 05/13] drm/amdkfd: Add dependency of DRM_AMDGPU to Kconfig

2015-06-12 Thread Oded Gabbay
Signed-off-by: Oded Gabbay --- drivers/gpu/drm/amd/amdkfd/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdkfd/Kconfig b/drivers/gpu/drm/amd/amdkfd/Kconfig index 8dfac37..e13c67c 100644 --- a/drivers/gpu/drm/amd/amdkfd/Kconfig +++

[PATCH 04/13] drm/amdgpu: Add amdgpu <--> amdkfd gfx8 interface

2015-06-12 Thread Oded Gabbay
From: Ben Goz This patch adds the gfx8 interface file between amdgpu and amdkfd. This interface file is currently in use when running on a Carrizo-based system. The interface itself is represented by a pointer to struct kfd_dev. The pointer is located inside amdgpu_device

[PATCH 03/13] drm/amdgpu: add amdgpu <--> amdkfd gfx7 interface

2015-06-12 Thread Oded Gabbay
This patch adds the gfx7 interface file between amdgpu and amdkfd. This interface file mirrors (some) of the functions in radeon_kfd.c (the interface file between radeon and amdkfd). The gfx7 interface is used when it is run on a Kaveri-based system. This interface file was used for bring-up of

[PATCH 02/13] drm/amdgpu: Add H/W agnostic amdgpu <--> amdkfd interface

2015-06-12 Thread Oded Gabbay
This patch adds an interface file between amdgpu and amdkfd. This interface file is H/W agnostic, thus containing functions that operate the same for any AMD APU/GPU H/W generation. The functions in this interface mirror (some) of the functions in radeon_kfd.c (the radeon<-->amdkfd interface

[PATCH 01/13] drm/radeon: Modify kgd_engine_type enum to match CZ

2015-06-12 Thread Oded Gabbay
This patch splits the KGD_ENGINE_SDMA to KGD_ENGINE_SDMA1 and KGD_ENGINE_SDMA2 to match CZ definitions. Signed-off-by: Oded Gabbay --- drivers/gpu/drm/amd/include/kgd_kfd_interface.h | 3 ++- drivers/gpu/drm/radeon/radeon_kfd.c | 3 ++- 2 files changed, 4 insertions(+), 2

[PATCH 00/13] Add Carrizo support for amdkfd

2015-06-12 Thread Oded Gabbay
This patch-set adds Carrizo support for amdkfd, to allow running HSA applications on Carrizo. To operate, it requires the presence of the recently published amdgpu. While the official support for Kaveri is still being done using radeon, this patch-set includes support running HSA applications on

[v3,2/3] drm/panel: add s6e63j0x03 LCD panel driver

2015-06-12 Thread Hyungwon Hwang
Please ignore this mail. I didn't know that "git send *" includes all files in the subdirectories. I am very sorry for disturbing you. Best regards, Hyungwon Hwang On Fri, 12 Jun 2015 21:59:17 +0900 Hyungwon Hwang wrote: > From: Inki Dae > > This patch adds MIPI-DSI based S6E63J0X03 AMOLED

[PATCH 3/3] ARM: dts: fix the clock-frequency of rinato board's panel

2015-06-12 Thread Hyungwon Hwang
Please ignore this mail. I didn't know that "git send *" includes all files in the subdirectories. I am very sorry for disturbing you. Best regards, Hyungwon Hwang On Fri, 12 Jun 2015 21:59:16 +0900 Hyungwon Hwang wrote: > After the commit abc0b1447d4974963548777a5ba4a4457c82c426 > ("drm:

[PATCH 2/3] ARM: dts: Add the reference node for syscon to mipi phy for Exynos3250

2015-06-12 Thread Hyungwon Hwang
Please ignore this mail. I didn't know that "git send *" includes all files in the subdirectories. I am very sorry for disturbing you. Best regards, Hyungwon Hwang On Fri, 12 Jun 2015 21:59:15 +0900 Hyungwon Hwang wrote: > Exynos mipi phy driver needs syscon node to be probed successfully. >

[PATCH 1/3] drm/panel: add s6e63j0x03 LCD panel driver

2015-06-12 Thread Hyungwon Hwang
Please ignore this mail. I didn't know that "git send *" includes all files in the subdirectories. I am very sorry for disturbing you. Best regards, Hyungwon Hwang On Fri, 12 Jun 2015 21:59:14 +0900 Hyungwon Hwang wrote: > From: Inki Dae > > This patch adds MIPI-DSI based S6E63J0X03 AMOLED

[PATCH 2/2] drm/exynos: ipp: validate a GEM handle with multiple planes

2015-06-12 Thread Hyungwon Hwang
Please ignore this mail. I didn't know that "git send *" includes all files in the subdirectories. I am very sorry for disturbing you. Best regards, Hyungwon Hwang On Fri, 12 Jun 2015 21:59:12 +0900 Hyungwon Hwang wrote: > FIMC & GSC driver can calculate the offset of planes. So there are >

[PATCH 1/2] drm/exynos: ipp: fix wrong index referencing a config element

2015-06-12 Thread Hyungwon Hwang
Please ignore this mail. I didn't know that "git send *" includes all files in the subdirectories. I am very sorry for disturbing you. Best regards, Hyungwon Hwang On Fri, 12 Jun 2015 21:59:11 +0900 Hyungwon Hwang wrote: > Config depends on the opreation. So it must be referenced by an >

[PATCH 3/3] ARM: dts: fix the clock-frequency of rinato board's panel

2015-06-12 Thread Hyungwon Hwang
After the commit abc0b1447d4974963548777a5ba4a4457c82c426 ("drm: Perform basic sanity checks on probed modes"), proper clock-frequency becomes mandatory for validating the mode of panel. The display does not work if there is no mode validated. Also, this clock-frequency must be set appropriately

[PATCH 2/3] ARM: dts: Add the reference node for syscon to mipi phy for Exynos3250

2015-06-12 Thread Hyungwon Hwang
Exynos mipi phy driver needs syscon node to be probed successfully. Signed-off-by: Hyungwon Hwang --- arch/arm/boot/dts/exynos3250.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/exynos3250.dtsi b/arch/arm/boot/dts/exynos3250.dtsi index e3bfb11..f8c02dd 100644 ---

[PATCH 1/3] drm/panel: add s6e63j0x03 LCD panel driver

2015-06-12 Thread Hyungwon Hwang
From: Inki Dae This patch adds MIPI-DSI based S6E63J0X03 AMOLED LCD panel driver which uses mipi_dsi bus to communicate with panel. The panel has 320×320 resolution in 1.63-inch physical panel. This panel is used in Samsung Galaxy Gear 2. Signed-off-by: Inki Dae

[PATCH] ARM: dts: set display clock correctly for exynos4412-trats2

2015-06-12 Thread Hyungwon Hwang
From: Inki Dae This patch sets display clock correctly. If Display clock isn't set correctly then you would find below messages and Display controller doesn't work correctly. exynos-drm: No connectors reported connected with modes [drm] Cannot find any crtc or sizes -

[PATCH 2/2] drm/exynos: ipp: validate a GEM handle with multiple planes

2015-06-12 Thread Hyungwon Hwang
FIMC & GSC driver can calculate the offset of planes. So there are use cases which IPP receives just one GEM handle of an image with multiple plane. This patch extends ipp_validate_mem_node() to validate this case. Signed-off-by: Hyungwon Hwang --- drivers/gpu/drm/exynos/exynos_drm_ipp.c | 51

[PATCH 1/2] drm/exynos: ipp: fix wrong index referencing a config element

2015-06-12 Thread Hyungwon Hwang
Config depends on the opreation. So it must be referenced by an operation id, not a property id. Signed-off-by: Hyungwon Hwang --- drivers/gpu/drm/exynos/exynos_drm_ipp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_ipp.c

[PATCH v6 15/15] ARM: dts: rename the clock of MIPI DSI 'pll_clk' to 'sclk_mipi'

2015-06-12 Thread Hyungwon Hwang
The clock which was named as 'pll_clk' is actually not the clock source of PLL in MIPI DSI. This patch fixes this disagreement. Signed-off-by: Hyungwon Hwang --- Changes before: - Refer https://patchwork.kernel.org/patch/6191811 Changes for v6: - None arch/arm/boot/dts/exynos4.dtsi | 2 +- 1

[PATCH v6 14/15] drm/exynos: dsi: do not set TE GPIO direction by input

2015-06-12 Thread Hyungwon Hwang
On some board, TE GPIO should be configured properly thoughout pinctrl driver as an wakeup interrupt. So this gpio should be configurable in the board's DT, not being requested as a input pin. Signed-off-by: Hyungwon Hwang --- Changes before: - Refer https://patchwork.kernel.org/patch/6191811

[PATCH v6 13/15] drm/exynos: dsi: add support for MIC driver as a bridge

2015-06-12 Thread Hyungwon Hwang
MIC must be initilized by MIPI DSI when it is being bound. Signed-off-by: Hyungwon Hwang --- Changes before: - Refer https://patchwork.kernel.org/patch/6191811 Changes for v6: - None .../devicetree/bindings/video/exynos_dsim.txt | 23 ++---

[PATCH v6 12/15] drm/exynos: dsi: add support for Exynos5433

2015-06-12 Thread Hyungwon Hwang
This patch adds support for Exynos5433 mipi dsi. Signed-off-by: Hyungwon Hwang --- Changes before: - Refer https://patchwork.kernel.org/patch/6191811 Changes for v6: - Change the order of DSIM_CONFIG_REG register - Add error checking code in probe function

[PATCH v6 11/15] drm/exynos: dsi: make use of array for clock access

2015-06-12 Thread Hyungwon Hwang
This patch make the driver to use an array for clock access. The number of clocks are different from the existing MIPI DSI driver and Exynos5433 MIPI DSI driver. So this patch is needed before adding support for Exynos5433 MIPI DSI driver. Signed-off-by: Hyungwon Hwang --- Changes before: -

[PATCH v6 10/15] drm/exynos: dsi: make use of driver data for static values

2015-06-12 Thread Hyungwon Hwang
Exynos MIPI DSI driver uses some static values such as address offsets, register setting values, and etc. This patch makes the driver get those values from the driver data. Signed-off-by: Hyungwon Hwang --- Changes before: - Refer https://patchwork.kernel.org/patch/6191731 Changes for v6: - None

[PATCH v6 09/15] drm/exynos: dsi: add macros for register access

2015-06-12 Thread Hyungwon Hwang
This patch adds macros for register writing/reading. This is needed for adding support Exynos5433 MIPI DSI driver, not by using if statement, but by using driver data. Signed-off-by: Hyungwon Hwang --- Changes before: - Refer https://patchwork.kernel.org/patch/6191761 Changes for v6: - None

[PATCH v6 08/15] drm/exynos: dsi: rename pll_clk to sclk_clk

2015-06-12 Thread Hyungwon Hwang
This patch renames pll_clk to sclk_clk. The clock referenced by pll_clk is actually not the pll input clock for dsi. The pll input clock comes from the board's oscillator directly. But for the backward compatibility, the old clock name "pll_clk" is also OK. Signed-off-by: Hyungwon Hwang ---

[PATCH v6 07/15] drm/exynos: mic: add MIC driver

2015-06-12 Thread Hyungwon Hwang
MIC(Mobile image compressor) is newly added IP in Exynos5433. MIC resides between decon and mipi dsim, and compresses frame data by 50%. With dsi, not display port, to send frame data to the panel, the bandwidth is not enough. That is why this compressor is introduced. Signed-off-by: Hyungwon

[PATCH v6 06/15] of: add helper for getting endpoint node of specific identifiers

2015-06-12 Thread Hyungwon Hwang
When there are multiple ports or multiple endpoints in a port, they have to be distinguished by the value of reg property. It is common. The drivers can get the specific endpoint in the specific port via this function. Now the drivers have to implement this code in themselves or have to force the

[PATCH v6 05/15] drm/exynos: add Exynos5433 decon driver

2015-06-12 Thread Hyungwon Hwang
From: Joonyoung Shim DECON(Display and Enhancement Controller) is new IP replacing FIMD in Exynos5433. This patch adds Exynos5433 decon driver. Signed-off-by: Joonyoung Shim Signed-off-by: Hyungwon Hwang --- Changes before: - Refer

[PATCH v6 04/15] drm/exynos: fix the input prompt of Exynos7 DECON

2015-06-12 Thread Hyungwon Hwang
This patch is a preparation patch for adding support for Exynos5433 DECON. Exynos7 DECON have to be distinguished from Exynos5433 DECON. Signed-off-by: Hyungwon Hwang --- Changes for v6: - New drivers/gpu/drm/exynos/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v6 03/15] drm/exynos: add drm_iommu_attach_device_if_possible()

2015-06-12 Thread Hyungwon Hwang
Every CRTC drivers in Exynos DRM implements the code which checks whether IOMMU is supported or not, and if supported enable it. Making new helper for it generalize each CRTC drivers. Signed-off-by: Hyungwon Hwang --- Changes for v6: - New drivers/gpu/drm/exynos/exynos7_drm_decon.c | 25

[PATCH v6 02/15] drm/exynos: Add the dependency for DRM_EXYNOS to DPI/DSI/DP

2015-06-12 Thread Hyungwon Hwang
Without this dependency, Kbuild is confused and the configs below them are not placed under Exynos DRM. This patch fixes it, so the configs below them become to be placed under Exynos DRM. Signed-off-by: Hyungwon Hwang --- Changes for v6: - New drivers/gpu/drm/exynos/Kconfig | 6 +++--- 1 file

[PATCH v6 01/15] drm/exynos: remove the dependency of DP driver for ARCH_EXYNOS

2015-06-12 Thread Hyungwon Hwang
This dependency is a historical thing. It is added when this DP driver is under media subsystem. Now because it is under Exynos DRM, this dependency is not needed anymore. Signed-off-by: Hyungwon Hwang --- Changes for v6: - New drivers/gpu/drm/exynos/Kconfig | 2 +- 1 file changed, 1

[PATCH v6 00/15] Add drivers for Exynos5433 display

2015-06-12 Thread Hyungwon Hwang
This patchset is based on the git(branch name: exynos-drm-next) which is maintained by Inki Dae. https://kernel.googlesource.com/pub/scm/linux/kernel/git/... This patchset adds 2 new device drivers, Exynos54333 decon and mic, and adds support for Exynos5433 mipi dsi. To enable display in a

[PATCH v2 9/9] tests/exynos: handle G2D_IMGBUF_COLOR in switch statements

2015-06-12 Thread Tobias Jakobi
This fixes a compiler warning about missing handling of enum values in the switch statements. Also remove the silent mapping to G2D_IMGBUF_GEM when an unknown buffer type is encountered. We have full control about the type here, and if it's unknown then we obviously have a bug in the code.

[PATCH v2 8/9] tests/exynos: remove connector_find_plane

2015-06-12 Thread Tobias Jakobi
No test uses DRM planes at the moment so this function is never called. Inspection of the git history shows that DRM planes were also never used in these tests in the past. Signed-off-by: Tobias Jakobi --- tests/exynos/exynos_fimg2d_test.c | 31 --- 1 file changed,

[PATCH v2 7/9] tests/exynos: simplify drm_set_crtc

2015-06-12 Thread Tobias Jakobi
We can just return 'ret' here, the goto serves no purpose. Signed-off-by: Tobias Jakobi --- tests/exynos/exynos_fimg2d_test.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/tests/exynos/exynos_fimg2d_test.c b/tests/exynos/exynos_fimg2d_test.c index de6a2b7..1ec7340

[PATCH v2 6/9] tests/exynos: remove struct fimg2d_test_case

2015-06-12 Thread Tobias Jakobi
It doesn't make sense to keep this structure, since we can just call all tests directly. An inspection of the git history shows that no code ever used this abstraction in the past. Signed-off-by: Tobias Jakobi --- tests/exynos/exynos_fimg2d_test.c | 42 +-- 1

[PATCH v2 5/9] tests/exynos: remove unused define

2015-06-12 Thread Tobias Jakobi
It doesn't make sense to limit the number of test cases anyway. Signed-off-by: Tobias Jakobi --- tests/exynos/exynos_fimg2d_test.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/exynos/exynos_fimg2d_test.c b/tests/exynos/exynos_fimg2d_test.c index 6af9277..080d178 100644 ---

[PATCH v2 4/9] tests/exynos: clean struct connector

2015-06-12 Thread Tobias Jakobi
Remove all unused struct members. An inspection of the git history shows that these members were also never used in the past. Signed-off-by: Tobias Jakobi --- tests/exynos/exynos_fimg2d_test.c | 10 -- 1 file changed, 10 deletions(-) diff --git a/tests/exynos/exynos_fimg2d_test.c

[PATCH v2 3/9] exynos/fimg2d: simplify g2d_fini()

2015-06-12 Thread Tobias Jakobi
free()ing a nullptr is a noop, so remove the check. Signed-off-by: Tobias Jakobi --- exynos/exynos_fimg2d.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/exynos/exynos_fimg2d.c b/exynos/exynos_fimg2d.c index 5ea42e6..24a06d0 100644 --- a/exynos/exynos_fimg2d.c +++

[PATCH v2 2/9] tests/exynos: replace return by break

2015-06-12 Thread Tobias Jakobi
The 'usage' function already does exit(0), so that this 'return -EINVAL' is never called. Just put a break there to avoid confusion. Signed-off-by: Tobias Jakobi --- tests/exynos/exynos_fimg2d_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v2 1/9] exynos: fimg2d: fix return codes

2015-06-12 Thread Tobias Jakobi
Even if flushing the command buffer doesn't succeed, the G2D calls would still return zero. Fix this by just passing the flush return code. In fact error handling currently ignores the fact that g2d_add_cmd() can fail. This is going to be handled in a later patch. Signed-off-by: Tobias Jakobi

[PATCH v2 0/9] drm/exynos: cleanups and small fixes for libdrm

2015-06-12 Thread Tobias Jakobi
Hello, I've split off the Exynos specific bits, so this is just some cleanups and small fixes. Everything can be reviewed without knowledge about the Exynos platform. My hope is that I can get at least some of the patches from my last series upstream. With best wishes, Tobias Changes in v2:

[PATCH v2] ARM: dts: fix the clock-frequency of rinato board's panel

2015-06-12 Thread Hyungwon Hwang
After the commit abc0b1447d4974963548777a5ba4a4457c82c426 ("drm: Perform basic sanity checks on probed modes"), proper clock-frequency becomes mandatory for validating the mode of panel. The display does not work if there is no mode validated. Also, this clock-frequency must be set appropriately

[PATCH 2/3] ARM: dts: fix the clock-frequency of rinato board's panel

2015-06-12 Thread Krzysztof Kozlowski
2015-06-12 18:27 GMT+09:00 Hyungwon Hwang : > On Fri, 12 Jun 2015 18:23:18 +0900 > Krzysztof Kozlowski wrote: > >> 2015-06-12 18:03 GMT+09:00 Hyungwon Hwang : >> > Because of recent update, proper clock-frequency becomes mandatory >> > for validating the mode of panel. This clock-frequency must

[PATCH 2/3] ARM: dts: fix the clock-frequency of rinato board's panel

2015-06-12 Thread Hyungwon Hwang
On Fri, 12 Jun 2015 18:23:18 +0900 Krzysztof Kozlowski wrote: > 2015-06-12 18:03 GMT+09:00 Hyungwon Hwang : > > Because of recent update, proper clock-frequency becomes mandatory > > for validating the mode of panel. This clock-frequency must be set > > appropriately for getting required frame

[PATCH 6/9] tests/exynos: remove struct fimg2d_test_case

2015-06-12 Thread Tobias Jakobi
Hello Emil, Emil Velikov wrote: > On 10 June 2015 at 14:42, Tobias Jakobi > wrote: >> It doesn't make sense to keep this structure, since we >> can just call all tests directly. >> > Seems like it was designed in mind of having another test case. > Perhaps the exynos guys cannot really upstream

[PATCH 2/3] ARM: dts: fix the clock-frequency of rinato board's panel

2015-06-12 Thread Krzysztof Kozlowski
2015-06-12 18:03 GMT+09:00 Hyungwon Hwang : > Because of recent update, proper clock-frequency becomes mandatory > for validating the mode of panel. This clock-frequency must be set > appropriately for getting required frame rate. > > Signed-off-by: Hyungwon Hwang Acked-by: Krzysztof Kozlowski

[PATCH 4/9] tests/exynos: clean struct connector

2015-06-12 Thread Tobias Jakobi
Hello Emil, Emil Velikov wrote: > On 10 June 2015 at 14:42, Tobias Jakobi > wrote: >> Remove all unused struct members. >> > Mentioning if they were used at some point in the past will be great. OK, I'll take a look at git history but AFAIK it is not. With best wishes, Tobias > > Thanks >

[PATCH 1/9] exynos: fimg2d: fix return codes

2015-06-12 Thread Tobias Jakobi
Hello Emil, Emil Velikov wrote: > On 10 June 2015 at 14:42, Tobias Jakobi > wrote: >> Even if flushing the command buffer doesn't succeed, the >> G2D calls would still return zero. Fix this by just passing >> the flush return code. >> >> Signed-off-by: Tobias Jakobi >> --- >>

[PATCH 1/3] ARM: dts: Add the reference node for syscon to mipi phy for Exynos3250

2015-06-12 Thread Krzysztof Kozlowski
2015-06-12 18:03 GMT+09:00 Hyungwon Hwang : > Exynos mipi phy driver needs syscon node to be probed successfully. > > Signed-off-by: Hyungwon Hwang > --- > arch/arm/boot/dts/exynos3250.dtsi | 1 + > 1 file changed, 1 insertion(+) Thanks for the patch but actually Beata Michalska (+CC) sent it

[PATCH v2 04/10] drm: Add Gamma correction structure

2015-06-12 Thread Emil Velikov
Hi Kausal Malladi, On 5 June 2015 at 13:00, Jindal, Sonika wrote: > On 6/4/2015 7:12 PM, Kausal Malladi wrote: >> >> From: Kausal Malladi >> ... >> v2: Addressing Daniel Stone's comment, added a variable sized array to >> carry Gamma correction values as blob property. >> >> Signed-off-by:

[PATCH 2/3] ARM: dts: fix the clock-frequency of rinato board's panel

2015-06-12 Thread Hyungwon Hwang
Because of recent update, proper clock-frequency becomes mandatory for validating the mode of panel. This clock-frequency must be set appropriately for getting required frame rate. Signed-off-by: Hyungwon Hwang --- arch/arm/boot/dts/exynos3250-rinato.dts | 2 +- 1 file changed, 1 insertion(+),

[PATCH 1/3] ARM: dts: Add the reference node for syscon to mipi phy for Exynos3250

2015-06-12 Thread Hyungwon Hwang
Exynos mipi phy driver needs syscon node to be probed successfully. Signed-off-by: Hyungwon Hwang --- arch/arm/boot/dts/exynos3250.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/exynos3250.dtsi b/arch/arm/boot/dts/exynos3250.dtsi index e3bfb11..f8c02dd 100644 ---

[PATCH 49/88] drm/amdgpu: remove AMDGPU_GEM_CREATE_CPU_GTT_UC

2015-06-12 Thread Emil Velikov
On 12 June 2015 at 17:41, Bridgman, John wrote: > > From: dri-devel [dri-devel-bounces at lists.freedesktop.org] on behalf of > Emil Velikov [emil.l.velikov at gmail.com] > Sent: June 12, 2015 11:47 AM > To: Alex Deucher > Cc: ML dri-devel > Subject: Re:

[PATCH 6/9] tests/exynos: remove struct fimg2d_test_case

2015-06-12 Thread Emil Velikov
On 12 June 2015 at 17:25, Tobias Jakobi wrote: > Hello Emil, > > Emil Velikov wrote: >> On 10 June 2015 at 14:42, Tobias Jakobi >> wrote: >>> It doesn't make sense to keep this structure, since we >>> can just call all tests directly. >>> >> Seems like it was designed in mind of having another

[PATCH v10 00/17] drm/exynos: atomic modesetting support

2015-06-12 Thread Joonyoung Shim
On 06/11/2015 11:01 PM, Gustavo Padovan wrote: > Hi Joonyoung, > > 2015-06-11 Joonyoung Shim : > >> On 06/10/2015 10:36 PM, Gustavo Padovan wrote: >>> Hi Marek, >>> >>> 2015-06-10 Marek Szyprowski : >>> Hello, On 2015-06-01 17:04, Gustavo Padovan wrote: > From: Gustavo Padovan

[PATCH v2 3/3] drm/exynos: initialize VIDCON0 when fimd is disabled

2015-06-12 Thread Joonyoung Shim
When the fimd is disabled by fimd_disable(), enabled overlay layers also are disabled. If clocks for fimd are enabled by fimd_enable() on this case, it can lead IOMMU page fault. The reason is that VIDCON0_ENVID and VIDCON0_ENVID_F bits of VIDCON0 register are set still even though fimd is

[PATCH v2 2/3] drm/exynos: remove chained calls to enable

2015-06-12 Thread Joonyoung Shim
With atomic modesetting all the control for CRTC, Planes, Encoders and Connectors should come from DRM core, so the driver is not allowed to enable or disable planes from inside the crtc_enable()/disable() call. But it needs to disable planes with crtc_disable in exynos driver internally. Because

[PATCH v2 1/3] drm/exynos: remove to call mixer_wait_for_vblank

2015-06-12 Thread Joonyoung Shim
The reason waiting vblank is to be power gated and disabled clocks after dma operation is completed. The dma operation is stopped already before be power gated and clocks are disabled when mixer is disabled by commit 381be025ac1a6("drm/exynos: stop mixer before gating clocks during poweroff").

[PATCH 6/9] tests/exynos: remove struct fimg2d_test_case

2015-06-12 Thread Emil Velikov
On 10 June 2015 at 14:42, Tobias Jakobi wrote: > It doesn't make sense to keep this structure, since we > can just call all tests directly. > Seems like it was designed in mind of having another test case. Perhaps the exynos guys cannot really upstream it (licensing or other issues) ? -Emil

[PATCH 8/9] tests/exynos: remove connector_find_plane

2015-06-12 Thread Emil Velikov
On 10 June 2015 at 14:42, Tobias Jakobi wrote: > No test uses DRM planes at the moment so this function > is never called. > Similar to the other patch - mention if this been used previously. I'm assuming that the exynos guys might have some work stashed which depends on this ? -Emil

[PATCH 4/9] tests/exynos: clean struct connector

2015-06-12 Thread Emil Velikov
On 10 June 2015 at 14:42, Tobias Jakobi wrote: > Remove all unused struct members. > Mentioning if they were used at some point in the past will be great. Thanks Emil > Signed-off-by: Tobias Jakobi > --- > tests/exynos/exynos_fimg2d_test.c | 10 -- > 1 file changed, 10 deletions(-) >

[PATCH 1/9] exynos: fimg2d: fix return codes

2015-06-12 Thread Emil Velikov
On 10 June 2015 at 14:42, Tobias Jakobi wrote: > Even if flushing the command buffer doesn't succeed, the > G2D calls would still return zero. Fix this by just passing > the flush return code. > > Signed-off-by: Tobias Jakobi > --- > exynos/exynos_fimg2d.c | 20 +--- > 1 file

[PATCH 49/88] drm/amdgpu: remove AMDGPU_GEM_CREATE_CPU_GTT_UC

2015-06-12 Thread Emil Velikov
On 27 May 2015 at 04:19, Alex Deucher wrote: > From: Jammy Zhou > > This flag isn't used by user mode drivers, remove it to avoid > confusion. And rename GTT_WC to GTT_USWC to make it clear. > Just a wild question: Assuming that user mode drivers means UMS, does this mean that there will be such

[GIT PULL] drm/panel: Changes for v4.2-rc1

2015-06-12 Thread Thierry Reding
Hi Dave, The following changes since commit b787f68c36d49bb1d9236f403813641efa74a031: Linux 4.1-rc1 (2015-04-26 17:59:10 -0700) are available in the git repository at: git://anongit.freedesktop.org/tegra/linux tags/drm/panel/for-4.2-rc1 for you to fetch changes up to

[PATCH 49/88] drm/amdgpu: remove AMDGPU_GEM_CREATE_CPU_GTT_UC

2015-06-12 Thread Bridgman, John
From: dri-devel [dri-devel-bounces at lists.freedesktop.org] on behalf of Emil Velikov [emil.l.veli...@gmail.com] Sent: June 12, 2015 11:47 AM To: Alex Deucher Cc: ML dri-devel Subject: Re: [PATCH 49/88] drm/amdgpu: remove AMDGPU_GEM_CREATE_CPU_GTT_UC On

[PATCH] drm/nouveau: fix memory leak by deallocating cli/drm

2015-06-12 Thread Emil Velikov
Hi Dongxing Zhang, On 11 June 2015 at 09:14, Dongxing Zhang wrote: > unreferenced object 0x8800bd132fe8 (size 256): > comm "Xorg", pid 1260, jiffies 4294901661 (age 660.504s) > hex dump (first 32 bytes): > 00 00 00 00 00 00 00 00 e8 2f 13 bd 00 88 ff ff ./.. > 01 00

[GIT PULL] drm/tegra: Changes for v4.2-rc1

2015-06-12 Thread Thierry Reding
Hi Dave, The following changes since commit b787f68c36d49bb1d9236f403813641efa74a031: Linux 4.1-rc1 (2015-04-26 17:59:10 -0700) are available in the git repository at: git://anongit.freedesktop.org/tegra/linux tags/drm/tegra/for-4.2-rc1 for you to fetch changes up to

[Bug 90510] [radeon][tahiti xt] IA_MULTI_VGT_PARAM programming seems broken

2015-06-12 Thread bugzilla-dae...@freedesktop.org
. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150612/68d853a8/attachment.html>

[RESEND PATCH 2/2] modetest: only select plane with matching format

2015-06-12 Thread Emil Velikov
On 11 June 2015 at 14:43, Tobias Jakobi wrote: > Sorry for the late reply! > > On 2015-05-28 14:25, Emil Velikov wrote: >>> >>> If you >>> create your primary plane with a XRGB-type format then this patch >>> doesn't change anything. If you create it with an ARGB-type format then >>> I can

[PATCH 00/21] On-demand device registration

2015-06-12 Thread Alexander Holler
Am 12.06.2015 um 13:19 schrieb Alexander Holler: > Am 12.06.2015 um 09:25 schrieb Linus Walleij: >> On Thu, Jun 11, 2015 at 6:40 PM, Alexander Holler >> wrote: >>> Am 11.06.2015 um 14:30 schrieb Linus Walleij: >> Certainly it is possible to create deadlocks in this scenario, but the

[PATCH v2 32/32] acpi-video: Make acpi_video_unregister_backlight() private

2015-06-12 Thread Hans de Goede
acpi_video_unregister_backlight() is now only used by video_detect.c which is part of the same acpi_video module as video.c, make acpi_video_unregister_backlight() private to this module. Signed-off-by: Hans de Goede --- drivers/acpi/acpi_video.c | 1 - drivers/acpi/video_detect.c | 2 ++

[PATCH v2 31/32] acpi-video-detect: Remove old API

2015-06-12 Thread Hans de Goede
Remove the old backlight interface selection API now that all drivers have been ported to the new API. Signed-off-by: Hans de Goede --- drivers/acpi/video_detect.c | 31 --- include/linux/acpi.h| 19 --- 2 files changed, 50 deletions(-) diff

[PATCH v2 30/32] toshiba-acpi: Port to new backlight interface selection API

2015-06-12 Thread Hans de Goede
Port the backlight selection logic to the new backlight interface selection API. Also fix a compiler warning about bt_present not being initialized. Signed-off-by: Hans de Goede --- drivers/platform/x86/toshiba_acpi.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git

[PATCH v2 29/32] thinkpad-acpi: Port to new backlight interface selection API

2015-06-12 Thread Hans de Goede
Port the backlight selection logic to the new backlight interface selection API. Signed-off-by: Hans de Goede Acked-by: Henrique de Moraes Holschuh --- drivers/platform/x86/thinkpad_acpi.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git

[PATCH v2 28/32] sony-laptop: Port to new backlight interface selection API

2015-06-12 Thread Hans de Goede
Port the backlight selection logic to the new backlight interface selection API. This commit also removes various obsolete pr_xxx messages related to backlight interface selection. These are obsolete because they assume there is only a vendor or acpi backlight driver and no other choice. Also

[PATCH v2 27/32] samsung-laptop: Port to new backlight interface selection API

2015-06-12 Thread Hans de Goede
Port the backlight selection logic to the new backlight interface selection API. This commit also removes various obsolete pr_xxx messages related to backlight interface selection. These are obsolete because they assume there is only a vendor or acpi backlight driver and no other choice. Also

[PATCH v2 26/32] msi-wmi: Port to new backlight interface selection API

2015-06-12 Thread Hans de Goede
Port the backlight selection logic to the new backlight interface selection API. Signed-off-by: Hans de Goede --- drivers/platform/x86/msi-wmi.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/platform/x86/msi-wmi.c b/drivers/platform/x86/msi-wmi.c index

[PATCH v2 25/32] msi-laptop: Port to new backlight interface selection API

2015-06-12 Thread Hans de Goede
Port the backlight selection logic to the new backlight interface selection API. This commit also removes various obsolete pr_xxx messages related to backlight interface selection. These are obsolete because they assume there is only a vendor or acpi backlight driver and no other choice. Also

[PATCH v2 24/32] intel-oaktrail: Port to new backlight interface selection API

2015-06-12 Thread Hans de Goede
Port the backlight selection logic to the new backlight interface selection API. This commit also removes various obsolete pr_xxx messages related to backlight interface selection. These are obsolete because they assume there is only a vendor or acpi backlight driver and no other choice. Also

[PATCH v2 23/32] ideapad-laptop: Port to new backlight interface selection API

2015-06-12 Thread Hans de Goede
Port the backlight selection logic to the new backlight interface selection API. Signed-off-by: Hans de Goede --- drivers/platform/x86/ideapad-laptop.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/platform/x86/ideapad-laptop.c

[PATCH v2 22/32] fujitsu-laptop: Port to new backlight interface selection API

2015-06-12 Thread Hans de Goede
Port the backlight selection logic to the new backlight interface selection API. Signed-off-by: Hans de Goede Acked-by: Jonathan Woithe --- drivers/platform/x86/fujitsu-laptop.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/platform/x86/fujitsu-laptop.c

[PATCH v2 21/32] eeepc-laptop: Port to new backlight interface selection API

2015-06-12 Thread Hans de Goede
Port the backlight selection logic to the new backlight interface selection API. This commit also removes various obsolete pr_xxx messages related to backlight interface selection. These are obsolete because they assume there is only a vendor or acpi backlight driver and no other choice. Also

[PATCH v2 20/32] dell-wmi: Port to new backlight interface selection API

2015-06-12 Thread Hans de Goede
Port the backlight selection logic to the new backlight interface selection API. Signed-off-by: Hans de Goede Acked-by: Pali Rohár --- drivers/platform/x86/dell-wmi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/platform/x86/dell-wmi.c

[PATCH v2 19/32] dell-laptop: Port to new backlight interface selection API

2015-06-12 Thread Hans de Goede
Port the backlight selection logic to the new backlight interface selection API. Signed-off-by: Hans de Goede Acked-By: Pali Rohár --- drivers/platform/x86/dell-laptop.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/platform/x86/dell-laptop.c

[PATCH v2 18/32] compal-laptop: Port to new backlight interface selection API

2015-06-12 Thread Hans de Goede
Port the backlight selection logic to the new backlight interface selection API. Signed-off-by: Hans de Goede --- drivers/platform/x86/compal-laptop.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/platform/x86/compal-laptop.c

[PATCH v2 17/32] asus-wmi: Port to new backlight interface selection API

2015-06-12 Thread Hans de Goede
Port the backlight selection logic to the new backlight interface selection API. This commit also removes various obsolete pr_xxx messages related to backlight interface selection. These are obsolete because they assume there is only a vendor or acpi backlight driver and no other choice. Also

[PATCH v2 16/32] asus-laptop: Port to new backlight interface selection API

2015-06-12 Thread Hans de Goede
Port the backlight selection logic to the new backlight interface selection API. This commit also removes various obsolete pr_xxx messages related to backlight interface selection. These are obsolete because they assume there is only a vendor or acpi backlight driver and no other choice. Also

[PATCH v2 15/32] apple-gmux: Port to new backlight interface selection API

2015-06-12 Thread Hans de Goede
Port the backlight selection logic to the new backlight interface selection API. Signed-off-by: Hans de Goede --- drivers/platform/x86/apple-gmux.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/platform/x86/apple-gmux.c b/drivers/platform/x86/apple-gmux.c index

  1   2   >