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

drm/radeon: fix VGT_GS_INSTANCE_CNT register

This register was incorrect for evergreen and cayman.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Dave Airlie and committed by
Alex Deucher
b7bc7999 1abd4986

+4 -3
+2 -1
drivers/gpu/drm/radeon/radeon_drv.h
··· 108 108 * 1.31- Add support for num Z pipes from GET_PARAM 109 109 * 1.32- fixes for rv740 setup 110 110 * 1.33- Add r6xx/r7xx const buffer support 111 + * 1.34- fix evergreen/cayman GS register 111 112 */ 112 113 #define DRIVER_MAJOR 1 113 - #define DRIVER_MINOR 33 114 + #define DRIVER_MINOR 34 114 115 #define DRIVER_PATCHLEVEL 0 115 116 116 117 long radeon_drm_ioctl(struct file *filp,
+1 -1
drivers/gpu/drm/radeon/reg_srcs/cayman
··· 532 532 0x00028B84 PA_SU_POLY_OFFSET_FRONT_OFFSET 533 533 0x00028B88 PA_SU_POLY_OFFSET_BACK_SCALE 534 534 0x00028B8C PA_SU_POLY_OFFSET_BACK_OFFSET 535 - 0x00028B74 VGT_GS_INSTANCE_CNT 535 + 0x00028B90 VGT_GS_INSTANCE_CNT 536 536 0x00028BD4 PA_SC_CENTROID_PRIORITY_0 537 537 0x00028BD8 PA_SC_CENTROID_PRIORITY_1 538 538 0x00028BDC PA_SC_LINE_CNTL
+1 -1
drivers/gpu/drm/radeon/reg_srcs/evergreen
··· 545 545 0x00028B84 PA_SU_POLY_OFFSET_FRONT_OFFSET 546 546 0x00028B88 PA_SU_POLY_OFFSET_BACK_SCALE 547 547 0x00028B8C PA_SU_POLY_OFFSET_BACK_OFFSET 548 - 0x00028B74 VGT_GS_INSTANCE_CNT 548 + 0x00028B90 VGT_GS_INSTANCE_CNT 549 549 0x00028C00 PA_SC_LINE_CNTL 550 550 0x00028C08 PA_SU_VTX_CNTL 551 551 0x00028C0C PA_CL_GB_VERT_CLIP_ADJ