Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/radeon/kms: set SX_MISC in the r6xx blit code (v2)

Mesa may set it to 1, causing all primitives to be killed.

v2: also update the r7xx code

Signed-off-by: Marek Olšák <maraeo@gmail.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>

authored by

Marek Olšák and committed by
Dave Airlie
cf00790d aaefcd42

+8
+8
drivers/gpu/drm/radeon/r600_blit_shaders.c
··· 314 314 0x00000000, /* VGT_VTX_CNT_EN */ 315 315 316 316 0xc0016900, 317 + 0x000000d4, 318 + 0x00000000, /* SX_MISC */ 319 + 320 + 0xc0016900, 317 321 0x000002c8, 318 322 0x00000000, /* VGT_STRMOUT_BUFFER_EN */ 319 323 ··· 628 624 0x00000000, /* VGT_STRMOUT_EN */ 629 625 0x00000000, /* VGT_REUSE_OFF */ 630 626 0x00000000, /* VGT_VTX_CNT_EN */ 627 + 628 + 0xc0016900, 629 + 0x000000d4, 630 + 0x00000000, /* SX_MISC */ 631 631 632 632 0xc0016900, 633 633 0x000002c8,