t can be allocated to
framebuffer. If this fails, we fall back to the old way of using
mmio for framebuffer.
Reported-by: kbuild test robot
Signed-off-by: Wei Hu
---
v2: Incorporated review comments form h...@lst.de, Michael Kelley and
Dexuan Cui
- Use dma_alloc_coherent to allocate
t can be allocated to
framebuffer. If this fails, we fall back to the old way of using
mmio for framebuffer.
Reported-by: kbuild test robot
Signed-off-by: Wei Hu
---
v2: Incorporated review comments form h...@lst.de, Michael Kelley and
Dexuan Cui
- Use dma_alloc_coherent to allocate
t can be allocated to
framebuffer. If this fails, we fall back to the old way of using
mmio for framebuffer.
Signed-off-by: Wei Hu
---
v2: Incorporated review comments form h...@lst.de, Michael Kelley and
Dexuan Cui
- Use dma_alloc_coherent to allocate large contiguous memory
fb...@vger.kernel.org; linux-
> ker...@vger.kernel.org; Michael Kelley ; Sasha Levin
>
> Cc: Wei Hu ; Dexuan Cui
> Subject: [PATCH] video: hyperv_fb: Fix hibernation for the deferred IO feature
>
> fb_deferred_io_work() can access the vmbus ringbuffer by calling
> fbde
> -Original Message-
> From: Wei Hu
> Sent: 2019年11月21日 10:47
> To: Dexuan Cui ; KY Srinivasan ;
> Haiyang Zhang ; Stephen Hemminger
> ; sas...@kernel.org; b.zolnier...@samsung.com;
> linux-hyp...@vger.kernel.org; dri-devel@lists.freedesktop.org; linux-
> fb...@vg
Thanks for the review. Please see my response inline.
> > + select DMA_CMA
>
> Thіs needs to be
>
> select DMA_CMA if HAVE_DMA_CONTIGUOUS
>
> > +#include
>
> > + /* Allocate from CMA */
> > + // request_pages = (request_size >> PAGE_SHIFT) + 1;
> > + request_pages = (round_up(re
t can be allocated to
framebuffer. If this fails, we fall back to the old way of using
mmio for framebuffer.
Signed-off-by: Wei Hu
---
drivers/video/fbdev/Kconfig | 1 +
drivers/video/fbdev/hyperv_fb.c | 179 +---
kernel/dma/contiguous.c | 2 +
3
deferred
IO outweighs the shadow copy impact in the guest.
Signed-off-by: Wei Hu
---
v2: Incorporated review comments from Michael Kelley
- Increased dirty rectangle by one row in deferred IO case when sending
to Hyper-V.
- Corrected the dirty rectangle size in the text mode
deferred
IO outweighs the shadow copy impact in the guest.
Signed-off-by: Wei Hu
---
v2: Incorporated review comments from Michael Kelley
- Increased dirty rectangle by one row in deferred IO case when sending
to Hyper-V.
- Corrected the dirty rectangle size in the text mode
deferred
IO outweighs the shadow copy impact in the guest.
Signed-off-by: Wei Hu
---
v2: Incorporated review comments from Michael Kelley
- Increased dirty rectangle by one row in deferred IO case when sending
to Hyper-V.
- Corrected the dirty rectangle size in the text mode
mand.
Signed-off-by: Iouri Tarassov
Signed-off-by: Wei Hu
---
v2:
- Implemented fallback when version negotiation failed.
- Defined full size for supported_resolution array.
v3:
- Corrected the synthvid major and minor version comparison problem.
v4:
- Chan
deferred
IO outweighs the shadow copy impact in the guest.
Signed-off-by: Wei Hu
---
v2: Incorporated review comments from Michael Kelley
- Increased dirty rectangle by one row in deferred IO case when sending
to Hyper-V.
- Corrected the dirty rectangle size in the text mode
> -Original Message-
> From: Michael Kelley
>
> From: Wei Hu Sent: Tuesday, August 27, 2019 4:25 AM
> >
> > Without deferred IO support, hyperv_fb driver informs the host to refresh
> > the entire guest frame buffer at fixed rate, e.g. at 20Hz, no matter
gt; - Corrected the synthvid major and minor version comparison problem.
>
> The changelog for v2 and v3 should actually go after the "---" below so
> that the changelog does not end up as part of the commit message. Take
> a look at other postings to LKML for an example.
&
o" command.
v2:
- Implemented fallback when version negotiation failed.
- Defined full size for supported_resolution array.
v3:
- Corrected the synthvid major and minor version comparison problem.
Signed-off-by: Iouri Tarassov
Signed-off-by: Wei Hu
---
drivers/video/fbd
.
Signed-off-by: Wei Hu
---
drivers/video/fbdev/Kconfig | 1 +
drivers/video/fbdev/hyperv_fb.c | 221 +---
2 files changed, 202 insertions(+), 20 deletions(-)
diff --git a/drivers/video/fbdev/Kconfig b/drivers/video/fbdev/Kconfig
index 1b2f5f31fb6f..e781f89a1824
> -Original Message-
> From: Michael Kelley
> Sent: Thursday, August 22, 2019 7:49 AM
> To: Wei Hu ; b.zolnier...@samsung.com; linux-
> hyp...@vger.kernel.org; dri-devel@lists.freedesktop.org; linux-
> fb...@vger.kernel.org; linux-ker...@vger.kernel.org; sas...@ker
Thanks Michael. See my reply inline to some of your comments.
> -Original Message-
> From: Michael Kelley
> Sent: Monday, August 19, 2019 6:41 AM
> To: Wei Hu ; rdun...@infradead.org; shc_w...@mail.ru;
> > - msg.dirt.rect[0].x1 = 0;
> > -
o" command.
v2:
- Implemented fallback when version negotiation failed.
- Defined full size for supported_resolution array.
Signed-off-by: Iouri Tarassov
Signed-off-by: Wei Hu
Reviewed-by: Michael Kelley
---
drivers/video/fbdev/hyperv_fb.c | 145 +---
1 file changed, 1
performance gain from deferred
IO outweighs the shadow copy impact in the guest.
Signed-off-by: Wei Hu
---
drivers/video/fbdev/Kconfig | 1 +
drivers/video/fbdev/hyperv_fb.c | 217 +---
2 files changed, 198 insertions(+), 20 deletions(-)
diff --git a/drivers/video
mand.
Signed-off-by: Iouri Tarassov
Signed-off-by: Wei Hu
---
drivers/video/fbdev/hyperv_fb.c | 136 +---
1 file changed, 125 insertions(+), 11 deletions(-)
diff --git a/drivers/video/fbdev/hyperv_fb.c b/drivers/video/fbdev/hyperv_fb.c
index 00f5bdcc6c6f..1042f3311fa2
21 matches
Mail list logo