[Intel-gfx] [PATCH] drm/i915: Allow frame buffers up to 4096x4096 on 915/945 class hardware
Ian Romanick
idr at freedesktop.org
Wed Jul 15 19:49:38 CEST 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Keith Packard wrote:
> The 915 and 945 scanout engines can handle frame buffers up to 4096 pixels
> wide. Pre-9xx hardware has an 8192 byte stride limit, and so we leave the
> existing 2048 max in place.
>
> I'm not sure why we limit the height to the same value; there's no intrinsic
> hardware limit in the scanout engine.
Two possible explanations:
a) It seemed like a good idea at the time.
b) FUD about rotation.
> Signed-off-by: Keith Packard <keithp at keithp.com>
Acked-by: Ian Romanick <ian.d.romanick at intel.com>
> ---
> drivers/gpu/drm/i915/intel_display.c | 3 +++
> 1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
> index 508838e..7b49809 100644
> --- a/drivers/gpu/drm/i915/intel_display.c
> +++ b/drivers/gpu/drm/i915/intel_display.c
> @@ -3148,6 +3148,9 @@ void intel_modeset_init(struct drm_device *dev)
> if (IS_I965G(dev)) {
> dev->mode_config.max_width = 8192;
> dev->mode_config.max_height = 8192;
> + } else if (IS_I9XX(dev)) {
> + dev->mode_config.max_width = 4096;
> + dev->mode_config.max_height = 4096;
> } else {
> dev->mode_config.max_width = 2048;
> dev->mode_config.max_height = 2048;
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkpeFrAACgkQX1gOwKyEAw/ndwCgkH+vtvzKKMkRamGz+stGVXa0
BdEAoJnZvYDDAOopFpqaOJAM7TYZYrXp
=VRkt
-----END PGP SIGNATURE-----
More information about the Intel-gfx
mailing list