VDPAU support has been removed for r300 as useless, but message in Xorg.log remained.
(II) RADEON(0): [DRI2] VDPAU driver: r300 Remove this message to prevent confusion. Signed-off-by: David Heidelberger <[email protected]> --- src/radeon_dri2.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/radeon_dri2.c b/src/radeon_dri2.c index 9a9918b..fe66152 100644 --- a/src/radeon_dri2.c +++ b/src/radeon_dri2.c @@ -1608,7 +1608,12 @@ radeon_dri2_screen_init(ScreenPtr pScreen) dri2_info.ScheduleWaitMSC = radeon_dri2_schedule_wait_msc; dri2_info.numDrivers = RADEON_ARRAY_SIZE(driverNames); dri2_info.driverNames = driverNames; - driverNames[0] = driverNames[1] = dri2_info.driverName; + driverNames[0] = dri2_info.driverName; + + if (info->ChipFamily >= CHIP_FAMILY_R600) + driverNames[1] = driverNames[0]; + else + driverNames[1] = NULL; /* no VDPAU support */ if (DRI2InfoCnt == 0) { #if HAS_DIXREGISTERPRIVATEKEY -- 2.1.2
From 8f944c0e0f43c8252aa89f1dc38d1bdb7a7d804d Mon Sep 17 00:00:00 2001 From: David Heidelberger <[email protected]> Date: Sun, 12 Oct 2014 16:34:21 +0200 Subject: [PATCH] radeon/vdpau: don't report VDPAU for r300 VDPAU support has been removed for r300 as useless, but message in Xorg.log remained. (II) RADEON(0): [DRI2] VDPAU driver: r300 Remove this message to prevent confusion. Signed-off-by: David Heidelberger <[email protected]> --- src/radeon_dri2.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/radeon_dri2.c b/src/radeon_dri2.c index 9a9918b..fe66152 100644 --- a/src/radeon_dri2.c +++ b/src/radeon_dri2.c @@ -1608,7 +1608,12 @@ radeon_dri2_screen_init(ScreenPtr pScreen) dri2_info.ScheduleWaitMSC = radeon_dri2_schedule_wait_msc; dri2_info.numDrivers = RADEON_ARRAY_SIZE(driverNames); dri2_info.driverNames = driverNames; - driverNames[0] = driverNames[1] = dri2_info.driverName; + driverNames[0] = dri2_info.driverName; + + if (info->ChipFamily >= CHIP_FAMILY_R600) + driverNames[1] = driverNames[0]; + else + driverNames[1] = NULL; /* no VDPAU support */ if (DRI2InfoCnt == 0) { #if HAS_DIXREGISTERPRIVATEKEY -- 2.1.2
_______________________________________________ xorg-driver-ati mailing list [email protected] http://lists.x.org/mailman/listinfo/xorg-driver-ati
