ion of
framebuffer with devm_register_framebuffer.
Fixes: 68a2d20b79b1 ("drivers/video: add Hyper-V Synthetic Video Frame Buffer
Driver")
Signed-off-by: Saurabh Sengar
---
[V3]
- using simplified hvfb_putmem()
drivers/video/fbdev/hyperv_fb.c | 20 +++-
1 file changed, 15
The device object required in 'hvfb_release_phymem' function
for 'dma_free_coherent' can also be obtained from the 'info'
pointer, making 'hdev' parameter in 'hvfb_putmem' redundant.
Remove the unnecessary 'hdev' argument from 'hvfb_
cleanup of hvfb_putmem()
- Use the simplified hvfb_putmem()
Saurabh Sengar (2):
fbdev: hyperv_fb: Simplify hvfb_putmem
fbdev: hyperv_fb: Allow graceful removal of framebuffer
drivers/video/fbdev/hyperv_fb.c | 30 --
1 file changed, 20 insertions(+), 10 deletions
ion of
framebuffer with devm_register_framebuffer.
Fixes: 68a2d20b79b1 ("drivers/video: add Hyper-V Synthetic Video Frame Buffer
Driver")
Signed-off-by: Saurabh Sengar
---
V2 : Move hvfb_putmem into destroy()
drivers/video/fbdev/hyperv_fb.c | 28 ++--
1 file change
r with devm_register_framebuffer.
Fixes: 68a2d20b79b1 ("drivers/video: add Hyper-V Synthetic Video Frame Buffer
Driver")
Signed-off-by: Saurabh Sengar
---
drivers/video/fbdev/hyperv_fb.c | 16
1 file changed, 12 insertions(+), 4 deletions(-)
diff --git a/drivers/video/fbdev/hyper
default value for dirt_needed is changed to false
as it's allocated by kzalloc which is similar to legacy hyperv_fb driver.
Signed-off-by: Saurabh Sengar
---
drivers/gpu/drm/hyperv/hyperv_drm_drv.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/gpu/drm/hyperv/hyperv_drm_drv
diagnosability.
Signed-off-by: Saurabh Sengar
---
drivers/gpu/drm/hyperv/hyperv_drm_proto.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/hyperv/hyperv_drm_proto.c
b/drivers/gpu/drm/hyperv/hyperv_drm_proto.c
index 76a182a..013a782 100644
--- a/drivers/gpu/drm
useful.
For Gen1 VMs, it should always be possible to get framebuffer
conflict removed using PCI device instead.
Fixes: a0ab5abced55 ("drm/hyperv : Removing the restruction of VRAM allocation
with PCI bar size")
Signed-off-by: Saurabh Sengar
---
drivers/gpu/dr
resolution to be restricted to
64 MB size, and with recent conclusion on fbdev issue its concluded to have
similar allocation strategy for both Gen1 and Gen2. This patch unifies
the Gen1 and Gen2 vram allocation strategy.
Signed-off-by: Saurabh Sengar
Reviewed-by: Deepak Rawat
---
drivers/gpu
resolution to be restricted to
64 MB size, and with recent conclusion on fbdev issue its concluded to have
similar allocation strategy for both Gen1 and Gen2. This patch unifies
the Gen1 and Gen2 vram allocation strategy.
Signed-off-by: Saurabh Sengar
---
FBdev patch Ref :
https://lore.kernel.org
emory shouldn't be limited by PCI bar size.
Signed-off-by: Saurabh Sengar
---
drivers/video/fbdev/hyperv_fb.c | 19 +--
1 file changed, 1 insertion(+), 18 deletions(-)
diff --git a/drivers/video/fbdev/hyperv_fb.c b/drivers/video/fbdev/hyperv_fb.c
index c8e0ea2..58c304a 100644
---
Add error message when the size of requested framebuffer is more than
the allocated size by vmbus mmio region for framebuffer
Signed-off-by: Saurabh Sengar
---
v3 -> v4 :
* Shorter error message
* Alignment match for open parenthesis
* Added -> Add (typo fix in
Added error message when the size of requested framebuffer is more than
the allocated size by vmbus mmio region for framebuffer
Signed-off-by: Saurabh Sengar
---
v2 -> v3 : then -> than (typo fix)
drivers/gpu/drm/hyperv/hyperv_drm_modeset.c | 5 -
1 file changed, 4 insertions
From: saurabh
Added error message when the size of requested framebuffer is more then
the allocated size by vmbus mmio region for framebuffer
Signed-off-by: saurabh
---
drivers/gpu/drm/hyperv/hyperv_drm_modeset.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/g
Added error message when the size of requested framebuffer is more then
the allocated size by vmbus mmio region for framebuffer
Signed-off-by: Saurabh Sengar
---
v1 -> v2 : Corrected Sign-off
drivers/gpu/drm/hyperv/hyperv_drm_modeset.c | 5 -
1 file changed, 4 insertions(+), 1 delet
adding SDI to drm connector list
Signed-off-by: Saurabh Sengar
---
drivers/gpu/drm/drm_connector.c | 1 +
include/uapi/drm/drm_mode.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/drm_connector.c b/drivers/gpu/drm/drm_connector.c
index 2db7fb5..ea48ddb 100644
--- a
.
Signed-off-by: Saurabh Sengar
---
drivers/gpu/drm/drm_edid.c | 48 ++
include/drm/drm_edid.h | 2 ++
2 files changed, 50 insertions(+)
diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index ec77bd3..08cfd9d 100644
--- a/drivers/gpu
In case of error too function should return after releasing the mutex
Signed-off-by: Saurabh Sengar
---
drivers/gpu/host1x/mipi.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/host1x/mipi.c b/drivers/gpu/host1x/mipi.c
index 52a6fd2..6e559a9 100644
--- a/drivers/gpu/host1x
in case of failed to get iova, function was returning without releasing
the mutex. Added it.
Signed-off-by: Saurabh Sengar
---
drivers/gpu/drm/msm/dsi/dsi_host.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/msm/dsi/dsi_host.c
b/drivers/gpu/drm/msm/dsi
adding missing mutex_unlock()
Signed-off-by: Saurabh Sengar
---
drivers/gpu/drm/nouveau/nouveau_abi16.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/nouveau_abi16.c
b/drivers/gpu/drm/nouveau/nouveau_abi16.c
index d336c22..280bd8e 100644
20 matches
Mail list logo