URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=80e283b0539f284563482e9bf901924ac134c0a5 Author: Ben Widawsky <benjamin.widaw...@intel.com> Date: Mon Jun 22 17:18:02 2015 -0700
i965/skl: Use 1 register for uniform pull constant payload When under dispatch_width=16 the previous code would allocate 2 registers for the payload when only one is needed. This manifested itself through bugs on SKL which needs to mess with this instruction. Ken thought this might impact shader-db, but apparently it doesn't Backported to 10.5.8 from (upstream uses alloc.allocate()): commit 6e62a52865787362ae1deb9dee80140d3a66c519 Author: Ben Widawsky <benjamin.widaw...@intel.com> Date: Thu Feb 19 15:49:34 2015 -0800 i965/skl: Use 1 register for uniform pull constant payload Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89118 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=88999 Signed-off-by: Ben Widawsky <b...@bwidawsk.net> Reviewed-by: Kenneth Graunke <kenn...@whitecape.org> Tested-by: Timo Aaltonen <timo.aalto...@canonical.com> Cc: "10.5" <mesa-sta...@lists.freedesktop.org> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=999b2b27168c85f2895c6574de28c31114fc5b7b Author: Ilia Mirkin <imir...@alum.mit.edu> Date: Wed Jul 1 02:11:39 2015 -0400 nv50/ir: copy joinAt when splitting both before and after The current implementation only moves the joinAt when splitting after the given instruction, not before it. So if you have a BB with foo instr bar joinat and thus with joinAt set, we end up first splitting before instr, at which point the instr's bb is updated to the new bb. Since that bb doesn't have a joinAt set (despite containing one), when splitting after the instr, there is nothing to copy over. Since the joinat will be in the "split" bb irrespective of whether we're splitting before or after the instruction, move it over in either case. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91124 Signed-off-by: Ilia Mirkin <imir...@alum.mit.edu> Cc: "10.5 10.6" <mesa-sta...@lists.freedesktop.org> (cherry picked from commit 5dcb28c3d26828ed1b0e2bd5a0589c5baab04b85) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=81ac47605f887c9cbf5d2f3a77e7a71a28fbe37f Author: Tapani Pälli <tapani.pa...@intel.com> Date: Tue May 19 15:01:49 2015 +0300 glsl: validate sampler array indexing for 'constant-index-expression' Desktop GLSL < 130 and GLSL ES < 300 allow sampler array indexing where index can contain a loop induction variable. This extra check will warn during linking if some of the indexes could not be turned in to constant expressions. v2: warning instead of error for backends that did not enable EmitNoIndirectSampler option (have dynamic indexing) Signed-off-by: Tapani Pälli <tapani.pa...@intel.com> Reviewed-by: Francisco Jerez <curroje...@riseup.net> Cc: "10.5" and "10.6" <mesa-sta...@lists.freedesktop.org> (cherry picked from commit 9350ea6979c48772e1fb55d4f1c7c5a3cfa987b0) Signed-off-by: Emil Velikov <emil.l.veli...@gmail.com> Conflicts: src/glsl/linker.cpp URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f8ea1430ae0bbaf68f73aa3a706d9112402e396d Author: Tapani Pälli <tapani.pa...@intel.com> Date: Wed Jun 24 13:22:43 2015 +0300 i965: use EmitNoIndirectSampler for gen < 7 Signed-off-by: Tapani Pälli <tapani.pa...@intel.com> Reviewed-by: Francisco Jerez <curroje...@riseup.net> Cc: "10.5" and "10.6" <mesa-sta...@lists.freedesktop.org> (cherry picked from commit 8852e26e93af1fc4b72bf9d57e847f53e1a1371b) [Emil Velikov: move the hunk to brw_initialize_context_constants()] Signed-off-by: Emil Velikov <emil.l.veli...@gmail.com> Conflicts: src/mesa/drivers/dri/i965/brw_shader.cpp URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c11a8c1c33512538433a04295c2c7327c6a85a64 Author: Tapani Pälli <tapani.pa...@intel.com> Date: Mon Jun 29 09:48:52 2015 +0300 mesa/st: use EmitNoIndirectSampler if !ARB_gpu_shader5 Signed-off-by: Tapani Pälli <tapani.pa...@intel.com> Reviewed-by: Francisco Jerez <curroje...@riseup.net> Reviewed-by: Marek Olšák <marek.ol...@amd.com> Cc: "10.5" and "10.6" <mesa-sta...@lists.freedesktop.org> (cherry picked from commit f17c8c287f3581fccb52714fbd4b2ea09a58e3d3) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4c80d44311cac8bbf61119c46454f212fb42fb40 Author: Tapani Pälli <tapani.pa...@intel.com> Date: Mon Jun 29 09:53:45 2015 +0300 i915: use EmitNoIndirectSampler Signed-off-by: Tapani Pälli <tapani.pa...@intel.com> Reviewed-by: Francisco Jerez <curroje...@riseup.net> Cc: "10.5" and "10.6" <mesa-sta...@lists.freedesktop.org> (cherry picked from commit 2dc2b12ed15abb84c7e2b3c2726dcc1b735abcda) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8e79cf6ba05539b990a40861ca3a2c1e32fef369 Author: Tapani Pälli <tapani.pa...@intel.com> Date: Tue Jun 9 13:33:39 2015 +0300 mesa/glsl: new compiler option EmitNoIndirectSampler Patch provides new compiler option for backend to force unroll loops that have non-constant expression indexing on sampler arrays. This makes sure that we can never end up with a shader that uses loop induction variable as sampler array index but does not unroll because of having too much instructions. This would not work without dynamic indexing support. v2: change option name as EmitNoIndirectSampler Signed-off-by: Tapani Pälli <tapani.pa...@intel.com> Reviewed-by: Francisco Jerez <curroje...@riseup.net> Cc: "10.5" and "10.6" <mesa-sta...@lists.freedesktop.org> (cherry picked from commit e4512e1581cf90f56d13cfa6a809832ef3517283) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5bec73364111907dc0a32c38b7d5f9b11c19626a Author: Tapani Pälli <tapani.pa...@intel.com> Date: Tue Jun 9 13:28:44 2015 +0300 glsl: Allow dynamic sampler array indexing with GLSL ES < 3.00 Dynamic indexing of sampler arrays is prohibited by GLSL ES 3.00. Earlier versions allow 'constant-index-expression' indexing, where index can contain a loop induction variable. Patch allows dynamic indexing for sampler arrays when GLSL ES < 3.00. This change makes 'sampler-array-index.frag' parser test in Piglit pass + fishgl.com works when running Chrome on OpenGL ES 2.0 backend v2: small change and some more commit message (Tapani) v3: refactor checks to make it more readable (Ian Romanick) v4: change warning comment in GLSL ES case (Curro) Signed-off-by: Tapani Pälli <tapani.pa...@intel.com> Signed-off-by: Kalyan Kondapally <kalyan.kondapa...@intel.com> Reviewed-by: Francisco Jerez <curroje...@riseup.net> Cc: "10.5" and "10.6" <mesa-sta...@lists.freedesktop.org> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=84225 (cherry picked from commit edb8383c98ee23385731d0fc23a6b6673528a8ec) Signed-off-by: Emil Velikov <emil.l.veli...@gmail.com> Conflicts: src/glsl/ast_array_index.cpp URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5985de6f1a9e7b01aef99d75d9564f7b2c40688b Author: Ilia Mirkin <imir...@alum.mit.edu> Date: Tue Jun 30 02:46:26 2015 -0400 nv50/ir: fix emission of address reg in 3rd source Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91056 Signed-off-by: Ilia Mirkin <imir...@alum.mit.edu> Cc: "10.5 10.6" <mesa-sta...@lists.freedesktop.org> (cherry picked from commit d5f1253b0c4637ad996fd0da45095165006d61d3) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cdc7aa10386a9526960d6a1121c89d1e2eb17b2b Author: Mario Kleiner <mario.kleiner...@gmail.com> Date: Fri Jun 5 15:36:52 2015 +0200 nouveau: Use dup fd as key in drm-winsys hash table to fix ZaphodHeads. The dup'ed fd owned by the nouveau_screen for a device node must also be used as key for the winsys hash table, instead of using the original fd passed in for a screen, to make multi-x-screen ZaphodHeads configurations work on nouveau. The original fd's lifetime differs from that of the nouveau_screen stored in the hash. The hash key is the fd, and in order to compare hash entries we fstat them, so the fd must be around for as long as the screen is. This is an extension of the fix in commit a59f2bb1 (nouveau: dup fd before passing it to device). Cc: "10.3 10.4 10.5 10.6" <mesa-sta...@lists.freedesktop.org> Signed-off-by: Mario Kleiner <mario.kleiner...@gmail.com> Reviewed-by: Ilia Mirkin <imir...@alum.mit.edu> (cherry picked from commit a98600b0ebdfc8481c168aae6c5670071e22fc29) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=16b6fa972d35b1c4047a98bb6aefbd41f1ac2f78 Author: Ilia Mirkin <imir...@alum.mit.edu> Date: Fri Jun 26 15:01:22 2015 -0400 nv50/ir: propagate modifier to right arg when const-folding mad An immediate has to be the second arg of an ADD operation. However we were mistakenly propagating the modifier of the non-folded value to the folded immediate argument. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91117 Signed-off-by: Ilia Mirkin <imir...@alum.mit.edu> Cc: "10.5 10.6" <mesa-sta...@lists.freedesktop.org> (cherry picked from commit ad62ec8316a926682958e7ab52639992867c3755) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3c4570e3fc283f81b5cf4b3b05a9bb66cf47ae2f Author: Michel Dänzer <michel.daen...@amd.com> Date: Thu May 21 10:49:05 2015 +0900 winsys/radeon: Unmap GPU VM address range when destroying BO But only when doing so is safe according to the RADEON_INFO_VA_UNMAP_WORKING kernel query. This avoids kernel GPU VM address range conflicts when the BO has other references than the GEM handle being closed, e.g. when the BO is shared. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=90537 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=90873 Cc: "10.5 10.6" <mesa-sta...@lists.freedesktop.org> Reviewed-by: Christian König <christian.koe...@amd.com> (cherry picked from commit 7796e8889a9a2cc1b454dc32d8da3d756404339a) Signed-off-by: Emil Velikov <emil.l.veli...@gmail.com> Conflicts: src/gallium/winsys/radeon/drm/radeon_drm_winsys.c URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2843e2a5c846c40cf2932be3963af381e595cbfa Author: Boyan Ding <boyan.j.d...@gmail.com> Date: Sat Jun 13 15:33:20 2015 +0800 egl/x11: Remove duplicate call to dri2_x11_add_configs_for_visuals The call to dri2_x11_add_configs_for_visuals (previously dri2_add_configs_for_visuals) was moved downwards in commit f8c5b8a1, but appeared again in its original position after its rename in d019cd81. Remove it. Cc: "10.5 10.6" <mesa-sta...@lists.freedesktop.org> Signed-off-by: Boyan Ding <boyan.j.d...@gmail.com> Reviewed-by: Samuel Iglesias Gonsálvez <sigles...@igalia.com> Reviewed-by: Emil Velikov <emil.l.veli...@gmail.com> Reviewed-by: Chad Versace <chad.vers...@intel.com> (cherry picked from commit 3fa9bb81ec8b21f472de32e08d0caf917239da08) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=36250def23c31b02b7bf55785fab2c2644d0a52f Author: Ilia Mirkin <imir...@alum.mit.edu> Date: Sun Jun 21 19:03:35 2015 -0400 nv50,nvc0: make sure to pushbuf_refn before putting bo into pushbuf_data Without first running the bo through pushbuf_refn, the nouveau drm library will have uninitialized structures regarding this bo, and will insert incorrect data. This fixes supertuxkart 0.9 crash on start (where it ends up doing a lot of indirect draws). Signed-off-by: Ilia Mirkin <imir...@alum.mit.edu> Cc: "10.5 10.6" <mesa-sta...@lists.freedesktop.org> (cherry picked from commit 78d58e642549fbf340fdb4fca06720d2891216a8) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8bcc8f4b480a7eb261e950af5c76f74c34c59abf Author: Ilia Mirkin <imir...@alum.mit.edu> Date: Sun Jun 21 15:00:16 2015 -0400 nvc0: always put all tfb bufs into bufctx Since we clear the TFB bufctx binding point above, we need to put all of the active tfb's back in, even if they haven't changed since last time. Otherwise the tfb may get moved into sysmem and the underlying mapping will generate write errors. Signed-off-by: Ilia Mirkin <imir...@alum.mit.edu> Cc: "10.5 10.6" <mesa-sta...@lists.freedesktop.org> (cherry picked from commit 9fcbf515b431a92e0289f234ab77a796cf2a5612) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=54ac5920094806def6a8f9a4d13231020daf639b Author: Ilia Mirkin <imir...@alum.mit.edu> Date: Tue Jun 23 00:16:59 2015 -0400 glsl: binding point is a texture unit, which is a combined space This fixes compilation failures in Dota 2 Reborn where a texture unit binding point was used that was numerically higher than the max per stage. Signed-off-by: Ilia Mirkin <imir...@alum.mit.edu> Reviewed-by: Chris Forbes <chr...@ijw.co.nz> Reviewed-by: Timothy Arceri <t_arc...@yahoo.com.au> Tested-by: Nick Sarnie <commendsar...@gmail.com> Cc: "10.5 10.6" <mesa-sta...@lists.freedesktop.org> (cherry picked from commit fccf012adc0d3aad877de095244324aa1d2d046a) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7b528f0d78ef88f0b90b11c7b3b17ee127a9a391 Author: Emil Velikov <emil.l.veli...@gmail.com> Date: Fri Jun 19 19:22:38 2015 +0100 gbm: do not (over)link against libglapi.so The whole of GBM does not rely on even a single symbol from the GL dispatch library, unsuprisingly. The only need for it comes from the unresolved symbols in the DRI modules, which are now correctly handled with Frank's commit. Cc: "10.5 10.6" <mesa-sta...@lists.freedesktop.org> Signed-off-by: Emil Velikov <emil.l.veli...@gmail.com> (cherry picked from commit a0dc6b7824d3b9095919e29393a379ea7f9c1318) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8c748fa1259773e9f05c0074ea4a33191a651550 Author: Frank Henigman <fjhenig...@chromium.org> Date: Thu Nov 6 16:29:26 2014 -0500 gbm: dlopen libglapi so gbm_create_device works Dri driver libs are not linked to pull in libglapi so gbm_create_device() fails when it tries to dlopen them (unless the application is linked with something that does pull in libglapi, like libGL). Until dri drivers can be fixed properly, dlopen libglapi before trying to dlopen them. Cc: "10.5 10.6" <mesa-sta...@lists.freedesktop.org> Signed-off-by: Frank Henigman <fjhenig...@google.com> [Emil Velikov: Drop misleading bugzilla link, mention that libname differs] Reviewed-by: Emil Velikov <emil.l.veli...@gmail.com> (cherry picked from commit 828f13330c9384f2b55c8b0f962d93a74ecd0601) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6bb51be01884e5d1b58897277226a93f200b6759 Author: Emil Velikov <emil.l.veli...@gmail.com> Date: Fri Jun 19 17:46:41 2015 +0100 configure: error out when building libEGL without shared-glapi The latter is a hard requirement and without it we'll error out later on in the build. Cc: "10.5 10.6" <mesa-sta...@lists.freedesktop.org> Signed-off-by: Emil Velikov <emil.l.veli...@gmail.com> Reviewed-by: Eric Anholt <e...@anholt.net> (cherry picked from commit 994be5143a097ae2cf504ba344362edfee388ac3) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a939a4b9a686d11e12f461b6feacb9e74e2d5d1f Author: Emil Velikov <emil.l.veli...@gmail.com> Date: Fri Jun 19 17:44:02 2015 +0100 configure: error out when building backend-less libEGL Cc: "10.5 10.6" <mesa-sta...@lists.freedesktop.org> Signed-off-by: Emil Velikov <emil.l.veli...@gmail.com> Reviewed-by: Eric Anholt <e...@anholt.net> (cherry picked from commit ddc886b5bfe5976fa2e5f49eeefa918736f1aa97) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e724322f39e7c50ec09c15c391dffb82df4c4895 Author: Emil Velikov <emil.l.veli...@gmail.com> Date: Fri Jun 19 17:19:46 2015 +0100 configure: warn about shared_glapi & xlib-glx only when both are set Printing out the message when shared_glapi is disabled only leads to confusion. Cc: "10.5 10.6" <mesa-sta...@lists.freedesktop.org> Signed-off-by: Emil Velikov <emil.l.veli...@gmail.com> Reviewed-by: Eric Anholt <e...@anholt.net> (cherry picked from commit 6d744aaf4e427b6b0b3d8d35d756592a50abbb97) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9df2ae3305ed616012710ebd3f6722501518480b Author: Ben Widawsky <benjamin.widaw...@intel.com> Date: Wed Jun 3 21:35:51 2015 -0700 i965/gen9: Implement Push Constant Buffer workaround This implements a workaround (exact excerpt as a comment in the code). The docs specify [clearly, after you struggle for a while] that the offset isn't relative to state base. This actually makes sense. This fixes hangs on SKL. Buffer #0 is meant to be used for normal uniforms. Buffer #1 is typically used for gather constants when using RS. Buffer #1-#3 could be used to push a bunch of UBO data which would just be somewhere in memory, and not relative to the dynamic state. NOTE: I've moved away from the ternary operator for the new gen9 conditions. Admittedly it's probably not great to do this, but I really want to fix this all up in the subsequent patch and doing it here makes that diff a lot nicer. I want to split out the gen8/9 code to make the function a bit more readable, but to keep this easily cherry-pickable I am doing this fix first. If we decide not to merge the cleanup patch then I can revisit this. Cc: "10.5 10.6" <mesa-sta...@lists.freedesktop.org> Signed-off-by: Ben Widawsky <b...@bwidawsk.net> Reviewed-by: Anuj Phogat <anuj.pho...@gmail.com> Tested-by: Valtteri Rantala <valtteri.rant...@intel.com> (cherry picked from commit 90754d2df05eafe1a3ee3cd9bb1611a19099fc49) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e82c46de119f6b31cc51d9236d5e41b436ec66a4 Author: Ilia Mirkin <imir...@alum.mit.edu> Date: Wed Jun 17 23:00:44 2015 -0400 mesa: add GL_PROGRAM_PIPELINE support in KHR_debug calls This was apparently missed when ARB_sso support was added. Add label support to pipeline objects just like all the other debug-related objects. Signed-off-by: Ilia Mirkin <imir...@alum.mit.edu> Reviewed-by: Timothy Arceri <t_arc...@yahoo.com.au> Cc: "10.5 10.6" <mesa-sta...@lists.freedesktop.org> (cherry picked from commit 770f141866654dab969302f720228497f0fb35fd) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fc6caeb9ad410c0ce171da4c17d60c11a62c5435 Author: Ilia Mirkin <imir...@alum.mit.edu> Date: Wed Jun 17 15:09:26 2015 -0400 glsl: add version checks to conditionals for builtin variable enablement A number of builtin variables have checks based on the extension being enabled, but were missing enablement via a higher GLSL version. Signed-off-by: Ilia Mirkin <imir...@alum.mit.edu> Reviewed-by: Timothy Arceri <t_arc...@yahoo.com.au> Cc: "10.5 10.6" <mesa-sta...@lists.freedesktop.org> (cherry picked from commit b6e238023c4f8af2328dc3bcab1d73a3e19f4fbb) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e3bcc8775598c36595d5044163e6a3b658fea2d8 Author: Chris Wilson <ch...@chris-wilson.co.uk> Date: Fri Jun 5 14:45:18 2015 +0100 i965: Export format comparison for blitting between miptrees Since the introduction of commit 536003c11e4cb1172c540932ce3cce06f03bf44e Author: Boyan Ding <boyan.j.d...@gmail.com> Date: Wed Mar 25 19:36:54 2015 +0800 i965: Add XRGB8888 format to intel_screen_make_configs winsys buffers no longer have an alpha channel. This causes _mesa_format_matches_format_and_type() to reject previously working BGRA uploads from using the BLT fast path. Instead of using the generic routine for matching formats exactly, export the slightly more relaxed check from intel_miptree_blit() which importantly allows the blitter routine to apply a small number of format conversions. References: https://bugs.freedesktop.org/show_bug.cgi?id=90839 Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> Cc: Jason Ekstrand <ja...@jlekstrand.net> Cc: Alexander Monakov <amona...@gmail.com> Cc: Kristian Høgsberg <k...@bitplanet.net> Cc: Kenneth Graunke <kenn...@whitecape.org> Reviewed-by: Kenneth Graunke <kenn...@whitecape.org> Cc: mesa-sta...@lists.freedesktop.org (cherry picked from commit 922c0c9fd526ce19b87bc74a3159dec7705c1de1) Signed-off-by: Emil Velikov <emil.l.veli...@gmail.com> Conflicts: src/mesa/drivers/dri/i965/intel_pixel_draw.c URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=22d7f3ceca1b09a3c6b26b6935db99bf9ed3caa9 Author: Chris Wilson <ch...@chris-wilson.co.uk> Date: Fri Jun 5 14:33:36 2015 +0100 i915: Blit RGBX<->RGBA drawpixels The blitter already has code to accommodate filling in the alpha channel for BGRX destination formats, so expand this to also allow filling the alpha channgel in RGBX formats. More importantly for the next patch is moving the test into its own function for the purpose of exporting the check to the callers. v2: Fix alpha expansion as spotted by Alexander with the fix suggested by Kenneth Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> Cc: Jason Ekstrand <ja...@jlekstrand.net> Cc: Alexander Monakov <amona...@gmail.com> Cc: Kristian Høgsberg <k...@bitplanet.net> Cc: Kenneth Graunke <kenn...@whitecape.org> Reviewed-by Kenneth Graunke <kenn...@whitecape.org> Cc: mesa-sta...@lists.freedesktop.org (cherry picked from commit c2d0606827412b710dcaed80268fc665de8c9c5d) URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=074122fbe34bc077ea3fc754c3696298f433d41b Author: Chris Wilson <ch...@chris-wilson.co.uk> Date: Fri Jun 5 13:49:08 2015 +0100 i965: Fix HW blitter pitch limits The BLT pitch is specified in bytes for linear surfaces and in dwords for tiled surfaces. In both cases the programmable limit is 32,767, so adjust the check to compensate for the effect of tiling. v2: Tweak whitespace for functions (Kenneth) Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> Cc: Kristian Høgsberg <k...@bitplanet.net> Cc: Kenneth Graunke <kenn...@whitecape.org> Reviewed-by Kenneth Graunke <kenn...@whitecape.org> Cc: mesa-sta...@lists.freedesktop.org (cherry picked from commit 8da79b8378ae87474d8c47ad955e4833edf98359) _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-commit