[PATCH] drm: move check for min/max width/height for atomic drivers

2016-11-08 Thread Daniel Vetter
On Wed, Nov 02, 2016 at 10:27:44AM -0400, Rob Clark wrote: > drm-hwc + android tries to create an fb for the wallpaper layer, which > is larger than the screen resolution, and potentially larger than > mode_config->max_{width,height}. But the plane src_w/src_h is within > the max limits, so it is

[PATCH] drm: move check for min/max width/height for atomic drivers

2016-11-03 Thread Ville Syrjälä
On Thu, Nov 03, 2016 at 02:37:30PM -0400, Rob Clark wrote: > On Thu, Nov 3, 2016 at 2:32 PM, Ville Syrjälä > wrote: > > On Thu, Nov 03, 2016 at 11:22:37AM -0400, Rob Clark wrote: > >> On Thu, Nov 3, 2016 at 10:55 AM, Ville Syrjälä > >> wrote: > >> > On Thu, Nov 03, 2016 at 10:14:20AM -0400, R

[PATCH] drm: move check for min/max width/height for atomic drivers

2016-11-03 Thread Ville Syrjälä
On Thu, Nov 03, 2016 at 09:35:24AM -0600, Sean Paul wrote: > On Thu, Nov 3, 2016 at 9:22 AM, Rob Clark wrote: > > On Thu, Nov 3, 2016 at 10:55 AM, Ville Syrjälä > > wrote: > >> On Thu, Nov 03, 2016 at 10:14:20AM -0400, Rob Clark wrote: > >>> On Thu, Nov 3, 2016 at 10:12 AM, Ville Syrjälä > >>

[PATCH] drm: move check for min/max width/height for atomic drivers

2016-11-03 Thread Ville Syrjälä
On Thu, Nov 03, 2016 at 11:22:37AM -0400, Rob Clark wrote: > On Thu, Nov 3, 2016 at 10:55 AM, Ville Syrjälä > wrote: > > On Thu, Nov 03, 2016 at 10:14:20AM -0400, Rob Clark wrote: > >> On Thu, Nov 3, 2016 at 10:12 AM, Ville Syrjälä > >> wrote: > >> > On Wed, Nov 02, 2016 at 10:27:44AM -0400,

[PATCH] drm: move check for min/max width/height for atomic drivers

2016-11-03 Thread Ville Syrjälä
On Thu, Nov 03, 2016 at 10:14:20AM -0400, Rob Clark wrote: > On Thu, Nov 3, 2016 at 10:12 AM, Ville Syrjälä > wrote: > > On Wed, Nov 02, 2016 at 10:27:44AM -0400, Rob Clark wrote: > >> drm-hwc + android tries to create an fb for the wallpaper layer, which > >> is larger than the screen resolutio

[PATCH] drm: move check for min/max width/height for atomic drivers

2016-11-03 Thread Ville Syrjälä
On Wed, Nov 02, 2016 at 10:27:44AM -0400, Rob Clark wrote: > drm-hwc + android tries to create an fb for the wallpaper layer, which > is larger than the screen resolution, and potentially larger than > mode_config->max_{width,height}. But the plane src_w/src_h is within > the max limits, so it is

[PATCH] drm: move check for min/max width/height for atomic drivers

2016-11-03 Thread Rob Clark
On Thu, Nov 3, 2016 at 2:32 PM, Ville Syrjälä wrote: > On Thu, Nov 03, 2016 at 11:22:37AM -0400, Rob Clark wrote: >> On Thu, Nov 3, 2016 at 10:55 AM, Ville Syrjälä >> wrote: >> > On Thu, Nov 03, 2016 at 10:14:20AM -0400, Rob Clark wrote: >> >> On Thu, Nov 3, 2016 at 10:12 AM, Ville Syrjälä

[PATCH] drm: move check for min/max width/height for atomic drivers

2016-11-03 Thread Rob Clark
On Thu, Nov 3, 2016 at 10:55 AM, Ville Syrjälä wrote: > On Thu, Nov 03, 2016 at 10:14:20AM -0400, Rob Clark wrote: >> On Thu, Nov 3, 2016 at 10:12 AM, Ville Syrjälä >> wrote: >> > On Wed, Nov 02, 2016 at 10:27:44AM -0400, Rob Clark wrote: >> >> drm-hwc + android tries to create an fb for the

[PATCH] drm: move check for min/max width/height for atomic drivers

2016-11-03 Thread Rob Clark
On Thu, Nov 3, 2016 at 10:12 AM, Ville Syrjälä wrote: > On Wed, Nov 02, 2016 at 10:27:44AM -0400, Rob Clark wrote: >> drm-hwc + android tries to create an fb for the wallpaper layer, which >> is larger than the screen resolution, and potentially larger than >> mode_config->max_{width,height}. B

[PATCH] drm: move check for min/max width/height for atomic drivers

2016-11-03 Thread Rob Clark
On Wed, Nov 2, 2016 at 10:27 AM, Rob Clark wrote: > drm-hwc + android tries to create an fb for the wallpaper layer, which > is larger than the screen resolution, and potentially larger than > mode_config->max_{width,height}. But the plane src_w/src_h is within > the max limits, so it is somethin

[PATCH] drm: move check for min/max width/height for atomic drivers

2016-11-03 Thread Sean Paul
On Thu, Nov 3, 2016 at 9:22 AM, Rob Clark wrote: > On Thu, Nov 3, 2016 at 10:55 AM, Ville Syrjälä > wrote: >> On Thu, Nov 03, 2016 at 10:14:20AM -0400, Rob Clark wrote: >>> On Thu, Nov 3, 2016 at 10:12 AM, Ville Syrjälä >>> wrote: >>> > On Wed, Nov 02, 2016 at 10:27:44AM -0400, Rob Clark wro

[PATCH] drm: move check for min/max width/height for atomic drivers

2016-11-02 Thread Rob Clark
drm-hwc + android tries to create an fb for the wallpaper layer, which is larger than the screen resolution, and potentially larger than mode_config->max_{width,height}. But the plane src_w/src_h is within the max limits, so it is something the hardware can otherwise do. For atomic drivers, defer