Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-7]: src/sys/external/bsd/drm2/dist/drm/radeon Pull up following r...



details:   https://anonhg.NetBSD.org/src/rev/a374635c7a1f
branches:  netbsd-7
changeset: 799355:a374635c7a1f
user:      snj <snj%NetBSD.org@localhost>
date:      Tue May 19 05:21:12 2015 +0000

description:
Pull up following revision(s) (requested by mrg in ticket #787):
        sys/external/bsd/drm2/dist/drm/radeon/radeon_display.c: revision 1.4
don't apply the "don't set CLUT" to RV280.  it isn't necessary for
my PCI 9250 card, and hoses the colours in X when running.
unfortunately, my RV250 does need this to avoid the console being
very very dark on black.
i'm curious what other earlier radeon card (anything matching any
of the card marked as:  CHIP_R100, CHIP_RV100, CHIP_RS100,
CHIP_RV200, CHIP_RS200, CHIP_R200, CHIP_RV250, and CHIP_RS300.)
the RV280 now works again properly, but the RV250 is still having
a problem waiting for commands to complete and it appears as if
X is hung, when infact it is asking the kernel quite frequently
if the job it asked for is complete, each time sleeping for a
short time and thus only appearing to take almost no CPU.

diffstat:

 sys/external/bsd/drm2/dist/drm/radeon/radeon_display.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r a3e7602b9f4c -r a374635c7a1f sys/external/bsd/drm2/dist/drm/radeon/radeon_display.c
--- a/sys/external/bsd/drm2/dist/drm/radeon/radeon_display.c    Tue May 19 05:17:47 2015 +0000
+++ b/sys/external/bsd/drm2/dist/drm/radeon/radeon_display.c    Tue May 19 05:21:12 2015 +0000
@@ -185,7 +185,7 @@
         * At least the RV100 [vendor 1002 product 515e (rev. 0x02)]
         * has an old style palette
         */
-       if (ASIC_IS_RV100(rdev)) {
+       if (rdev->family < CHIP_RV280) {
 #ifdef notyet
                /*
                 * Leave CLUT alone for now. The code below gives us a



Home | Main Index | Thread Index | Old Index