[Intel-gfx] [PATCH] drm/i915: allow frame buffers up to 4096x4096 on pre-965 chipsets

Eric Anholt eric at anholt.net
Thu Jul 9 03:08:00 CEST 2009


On Wed, 2009-07-08 at 13:32 -0700, Keith Packard wrote:
> The scanout hardware can handle up to this size, so there's no reason to
> restrict it to 2048x2048.
> 
> Signed-off-by: Keith Packard <keithp at keithp.com>
> ---
>  drivers/gpu/drm/i915/intel_display.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
> index 508838e..dcac28d 100644
> --- a/drivers/gpu/drm/i915/intel_display.c
> +++ b/drivers/gpu/drm/i915/intel_display.c
> @@ -3149,8 +3149,8 @@ void intel_modeset_init(struct drm_device *dev)
>  		dev->mode_config.max_width = 8192;
>  		dev->mode_config.max_height = 8192;
>  	} else {
> -		dev->mode_config.max_width = 2048;
> -		dev->mode_config.max_height = 2048;
> +		dev->mode_config.max_width = 4096;
> +		dev->mode_config.max_height = 4096;
>  	}
>  
>  	/* set memory base */

The only thing I'm concerned about is proper handling of 3D drawing to
that big.  What happens?

-- 
Eric Anholt
eric at anholt.net                         eric.anholt at intel.com


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20090708/1f860f3f/attachment.sig>


More information about the Intel-gfx mailing list