Re: [Intel-gfx] [PATCH] drm/i915: Reject < 1x1 pixel plane source size

2023-01-12 Thread Ville Syrjälä
On Thu, Jan 12, 2023 at 05:21:45PM +0200, Ville Syrjala wrote: > From: Ville Syrjälä > > We don't have proper sub-pixel coordinate support (some platforms > simply can't do it, for others we've not implemented it). This > can cause us to treat a < 1 pixel source width/height as zero > which is no

[Intel-gfx] [PATCH] drm/i915: Reject < 1x1 pixel plane source size

2023-01-12 Thread Ville Syrjala
From: Ville Syrjälä We don't have proper sub-pixel coordinate support (some platforms simply can't do it, for others we've not implemented it). This can cause us to treat a < 1 pixel source width/height as zero which is not valid for the hardware, and can also cause a div by zero in some cases.