[PATCH i-g-t] lib/rendercopy_gen9: Fix Xe2 missing pixels on non-modulo-16 surfaces
Hogander, Jouni
jouni.hogander at intel.com
Thu Feb 1 13:49:56 UTC 2024
On Thu, 2024-02-01 at 14:09 +0100, Zbigniew Kempczyński wrote:
> Missing setting Kernel0Enable bit results in lack of rasterization
> of right and bottom part of the surface. Fix this as kms tests
> depends
> on that.
Seems to fix the problem with missing pixels on non-modulo-16 surfaces:
Tested-by: Jouni Högander <jouni.hogander at intel.com>
>
> Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski at intel.com>
> Cc: Juha-Pekka Heikkila <juhapekka.heikkila at gmail.com>
> ---
> lib/rendercopy_gen9.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/rendercopy_gen9.c b/lib/rendercopy_gen9.c
> index bdfd9be087..a63d5320b3 100644
> --- a/lib/rendercopy_gen9.c
> +++ b/lib/rendercopy_gen9.c
> @@ -863,7 +863,7 @@ gen8_emit_ps(struct intel_bb *ibb, uint32_t
> kernel, bool fast_clear) {
> intel_bb_out(ibb, 0);
>
> intel_bb_out(ibb, GEN7_3DSTATE_PS | (12-2));
> - intel_bb_out(ibb, kernel);
> + intel_bb_out(ibb, kernel | 1);
> intel_bb_out(ibb, 0); /* kernel hi */
>
> if (fast_clear)
More information about the igt-dev
mailing list