[PATCH v3 3/4] xlnx_dp: Fix the interrupt disable logic

2022-06-01 Thread frederic.konrad
From: Sai Pavan Boddu Fix interrupt disable logic. Mask value 1 indicates that interrupts are disabled. Signed-off-by: Sai Pavan Boddu Reviewed-by: Edgar E. Iglesias Signed-off-by: Frederic Konrad --- hw/display/xlnx_dp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw

[PATCH v3 4/4] xlnx-zynqmp: fix the irq mapping for the display port and its dma

2022-06-01 Thread frederic.konrad
From: Frederic Konrad When the display port has been initially implemented the device driver wasn't using interrupts. Now that the display port driver waits for vblank interrupt it has been noticed that the irq mapping is wrong. So use the value from the linux device tree and the ultrascale+ re

[PATCH v3 2/4] xlnx_dp: Introduce a vblank signal

2022-06-01 Thread frederic.konrad
From: Sai Pavan Boddu Add a periodic timer which raises vblank at a frequency of 30Hz. Signed-off-by: Sai Pavan Boddu Signed-off-by: Edgar E. Iglesias Changes by fkonrad: - Switched to transaction-based ptimer API. - Added the DP_INT_VBLNK_START macro. Signed-off-by: Frederic Konrad ---

[PATCH v3 1/4] xlnx_dp: fix the wrong register size

2022-06-01 Thread frederic.konrad
From: Frederic Konrad The core and the vblend registers size are wrong, they should respectively be 0x3B0 and 0x1E0 according to: https://www.xilinx.com/htmldocs/registers/ug1087/ug1087-zynq-ultrascale-registers.html. Let's fix that and use macros when creating the mmio region. Fixes: 58ac48

[PATCH v3 0/4] xlnx-zcu102: fix the display port.

2022-06-01 Thread frederic.konrad
From: Frederic Konrad Hi, This patch set fixes some issues with the DisplayPort for the ZCU102: The first patch fixes the wrong register size and thus the risk of register overflow. The three other one add a vblank interrupt required by the linux driver: - When using the VNC graphic backend

[PATCH v1 1/4] xlnx_dp: fix the wrong register size

2022-05-03 Thread frederic.konrad
From: Frederic Konrad The core and the vblend registers size are wrong, they should respectively be 0x3B0 and 0x1E0 according to: https://www.xilinx.com/htmldocs/registers/ug1087/ug1087-zynq-ultrascale-registers.html. Let's fix that and use macros when creating the mmio region. Fixes: 58ac48

[PATCH v1 3/4] xlnx_dp: Fix the interrupt disable logic

2022-05-03 Thread frederic.konrad
From: Sai Pavan Boddu Fix interrupt disable logic. Mask value 1 indicates that interrupts are disabled. Signed-off-by: Sai Pavan Boddu Reviewed-by: Edgar E. Iglesias Signed-off-by: Frederic Konrad --- hw/display/xlnx_dp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw

[PATCH v1 0/4] xlnx-zcu102: fix the display port.

2022-05-03 Thread frederic.konrad
From: Frederic Konrad Hi, This patch set fixes some issues with the DisplayPort for the ZCU102: The first patch fixes the wrong register size and thus the risk of register overflow. The three other one add a vblank interrupt required by the linux driver: - When using the VNC graphic backend

[PATCH v1 4/4] xlnx-zynqmp: fix the irq mapping for the display port and its dma

2022-05-03 Thread frederic.konrad
From: Frederic Konrad When the display port has been initially implemented the device driver wasn't using interrupts. Now that the display port driver waits for vblank interrupt it has been noticed that the irq mapping is wrong. So use the value from the linux device tree and the ultrascale+ re

[PATCH v1 2/4] xlnx_dp: Introduce a vblank signal

2022-05-03 Thread frederic.konrad
From: Sai Pavan Boddu Add a periodic timer which raises vblank at a frequency of 30Hz. Signed-off-by: Sai Pavan Boddu Signed-off-by: Edgar E. Iglesias Changes by fkonrad: - Switched to transaction-based ptimer API. - Added the DP_INT_VBLNK_START macro. Signed-off-by: Frederic Konrad ---