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

2009-07-08 Thread Keith Packard
On Wed, 2009-07-08 at 18:08 -0700, Eric Anholt wrote:

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

It shouldn't work. We could require (in the X server) that DRI be
disabled to allocate a larger frame buffer if you like, but there's no
reason kernel space should restrict the size of the scanout area in case
someone wants to use the 3D engine.

-- 
keith.pack...@intel.com


signature.asc
Description: This is a digitally signed message part
--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


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

2009-07-08 Thread Eric Anholt
On Wed, 2009-07-08 at 18:14 -0700, Keith Packard wrote:
 On Wed, 2009-07-08 at 18:08 -0700, Eric Anholt wrote:
 
  The only thing I'm concerned about is proper handling of 3D drawing to
  that big.  What happens?
 
 It shouldn't work. We could require (in the X server) that DRI be
 disabled to allocate a larger frame buffer if you like, but there's no
 reason kernel space should restrict the size of the scanout area in case
 someone wants to use the 3D engine.

I somehow managed to read this as a 2D patch.  100% agreement for the
kernel.

-- 
Eric Anholt
e...@anholt.net eric.anh...@intel.com




signature.asc
Description: This is a digitally signed message part
--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


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

2009-07-08 Thread Eric Anholt
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 kei...@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
e...@anholt.net eric.anh...@intel.com




signature.asc
Description: This is a digitally signed message part
--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel