[PATCH v2] ui/console: allow display device to be labeled with given id

2022-06-14 Thread Wen, Jianxian
The update makes it easier to find and specify devices. They can only be found by device type name without the id field, for example, devices of the same type have the same label. The update also adds a head field, which is useful for devices that support multiple heads, such as virtio-gpu. Signed

[PATCH] ui/console: allow display device to be labeled with given id

2022-05-26 Thread Wen, Jianxian
The update makes it easier to find and specify devices. They can only be found by device type name without the id field, for example, devices of the same type have the same label. The update also adds a head field, which is useful for devices that support multiple heads, such as virtio-gpu. Signed

[PATCH] ui: avoid unnecessary memory operations in vnc_refresh_server_surface()

2022-03-15 Thread Wen, Jianxian
Check the dirty bits in advance to avoid unnecessary memory operations. In the case that guest surface has different format than the server, but it does not have dirty bits which means no refresh is actually needed, the memory operations is not necessary. Signed-off-by: Jianxian Wen Signed-off-by

[PATCH v5] hw/dma/pl330: Add memory region to replace default

2021-08-18 Thread Wen, Jianxian
Add property memory region which can connect with IOMMU region to support SMMU translate. Signed-off-by: Jianxian Wen --- v5 (after review of Philippe Mathieu-Daudé): - Refine code and use memory_region_name() to get MR name. v4 (after review of Philippe Mathieu-Daudé): - Avoid creating new AS

[PATCH v4] hw/dma/pl330: Add memory region to replace default

2021-08-17 Thread Wen, Jianxian
Add configurable property memory region which can connect with IOMMU region to support SMMU translate. Signed-off-by: Jianxian Wen --- v3 -> v4 (after review of Philippe Mathieu-Daudé): - Avoid adding unnecessary AS, add AS if we connect with IOMMU region. v2 -> v3 (after review of Philippe Mat

[PATCH v3] hw/dma/pl330: Add memory region to replace default

2021-08-16 Thread Wen, Jianxian
PL330 needs a memory region which can connect with SMMU IOMMU region to support SMMU translate. Signed-off-by: Jianxian Wen --- Changes v1 -> v2 (after review of Peter Maydell): - Use the dma_memory_read/dma_memory_write functions, update function AddressSpace* parameter. Changes v2 -> v3 (aft

[PATCH v2] hw/dma/pl330: Add memory region to replace default

2021-08-15 Thread Wen, Jianxian
L330 needs a memory region which can connect with SMMU IOMMU region to support SMMU translate. Signed-off-by: Jianxian Wen --- Changes v1 -> v2 (after review of Peter Maydell): - Use the dma_memory_read/dma_memory_write functions, update function AddressSpace* parameter. hw/arm/exynos4210.c

[PATCH] hw/dma/pl330: Add memory region to replace default address_space_memory

2021-08-12 Thread Wen, Jianxian
>From f780b0ee2ee36c562ab814915fff0e7217b25e63 Mon Sep 17 00:00:00 2001 From: Jianxian Wen Date: Tue, 3 Aug 2021 09:44:35 +0800 Subject: [PATCH] hw/dma/pl330: Add memory region to replace default address_space_memory PL330 needs a memory region which can connect with SMMU translate IOMMU region

[PATCH] hw/dma/pl330: Add memory region to replace default address_space_memory

2021-08-03 Thread Wen, Jianxian
From f780b0ee2ee36c562ab814915fff0e7217b25e63 Mon Sep 17 00:00:00 2001 From: Jianxian Wen Date: Tue, 3 Aug 2021 09:44:35 +0800 Subject: [PATCH] hw/dma/pl330: Add memory region to replace default address_space_memory PL330 needs a memory region which can connect with SMMU translate IOMMU region t