From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 110897] HyperZ is broken for r300 (bad z for some micro and macrotiles?) Date: Fri, 14 Jun 2019 13:20:58 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1578488879==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id AB5B489467 for ; Fri, 14 Jun 2019 13:20:58 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1578488879== Content-Type: multipart/alternative; boundary="15605184582.F2113.9633" Content-Transfer-Encoding: 7bit --15605184582.F2113.9633 Date: Fri, 14 Jun 2019 13:20:58 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D110897 --- Comment #29 from Richard Thier --- Okay this is weird for me: /* src/gallium/drivers/r300/r300_texture_desc.c */ 399 /* Get the HIZ buffer size in dwords. */ 400 hiz_numdw =3D (stride * height) / (8*8 * pipes); 401=20 402 /* Check whether we have enough HIZ memory. */ 403 if (hiz_numdw <=3D screen->caps.hiz_ram * pipes) { 404 tex->tex.hiz_dwords[i] =3D hiz_numdw; 405 tex->tex.hiz_stride_in_pixels[i] =3D stride; 406 } else { 407 tex->tex.hiz_dwords[i] =3D 0; 408 tex->tex.hiz_stride_in_pixels[i] =3D 0; 409 } (gdb) p hiz_numdw $35 =3D 1128 (gdb) p screen->caps.hiz_ram $36 =3D 0 (gdb) (!) Is it normal to have zero hiz_ram on this card??????????????????????????????????????????????? Btw: info.r300_num_z_pipes =3D=3D 1 info.r300_num_gb_pipes =3D=3D 3 (this is in the pipes var) --=20 You are receiving this mail because: You are the assignee for the bug.= --15605184582.F2113.9633 Date: Fri, 14 Jun 2019 13:20:58 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Comme= nt # 29 on bug 11089= 7 from = Richard Thier
Okay this is weird for me:

  /* src/gallium/drivers/r300/r300_texture_desc.c */
  399             /* Get the HIZ buffer size in dwords. */
  400             hiz_numdw =3D (stride * height) / (8*8 * pipes);
  401=20
  402             /* Check whether we have enough HIZ memory. */
  403             if (hiz_numdw <=3D screen->caps.hiz_ram * pipes) {
  404                 tex->tex.hiz_dwords[i] =3D hiz_numdw;
  405                 tex->tex.hiz_stride_in_pixels[i] =3D stride;
  406             } else {
  407                 tex->tex.hiz_dwords[i] =3D 0;
  408                 tex->tex.hiz_stride_in_pixels[i] =3D 0;
  409             }

  (gdb) p hiz_numdw
  $35 =3D 1128
  (gdb) p screen->caps.hiz_ram
  $36 =3D 0
  (gdb)

(!) Is it normal to have zero hiz_ram on this
card???????????????????????????????????????????????

Btw:

info.r300_num_z_pipes =3D=3D 1
info.r300_num_gb_pipes =3D=3D 3 (this is in the pipes var)


You are receiving this mail because:
  • You are the assignee for the bug.
= --15605184582.F2113.9633-- --===============1578488879== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============1578488879==--