Re: [PATCH v3] drm/hyperv: Added error message for fb size greater than allocated

2022-04-11 Thread Saurabh Singh Sengar
On Mon, Apr 11, 2022 at 07:02:19PM +, Dexuan Cui wrote: > > From: Saurabh Singh Sengar > > Sent: Monday, April 11, 2022 12:56 AM > > > >... > > > > - if (fb->pitches[0] * fb->height > hv->fb_size) > > > > + if (fb->pitches[0] * fb->height > hv->fb_size) { > > > > +

RE: [PATCH v3] drm/hyperv: Added error message for fb size greater than allocated

2022-04-11 Thread Dexuan Cui
> From: Saurabh Singh Sengar > Sent: Monday, April 11, 2022 12:56 AM > > >... > > > - if (fb->pitches[0] * fb->height > hv->fb_size) > > > + if (fb->pitches[0] * fb->height > hv->fb_size) { > > > + drm_err(>dev, "hv->hdev, fb size requested by process %s > > > for %d X %d (pitch %d) is

Re: [PATCH v3] drm/hyperv: Added error message for fb size greater than allocated

2022-04-11 Thread Saurabh Singh Sengar
On Mon, Apr 11, 2022 at 06:40:38AM +, Dexuan Cui wrote: > > Subject: [PATCH v3] drm/hyperv: Added error message for fb size greater than > > allocated > > > > Added error message when the size of requested framebuffer is more than > > the allocated size by vmb

RE: [PATCH v3] drm/hyperv: Added error message for fb size greater than allocated

2022-04-11 Thread Dexuan Cui
> Subject: [PATCH v3] drm/hyperv: Added error message for fb size greater than > allocated > > Added error message when the size of requested framebuffer is more than > the allocated size by vmbus mmio region for framebuffer "Added" --> "Add"? My impr

[PATCH v3] drm/hyperv: Added error message for fb size greater than allocated

2022-04-10 Thread Saurabh Sengar
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(+), 1