Source-Changes-HG archive

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

[src/trunk]: src/sys/external/bsd/drm2/dist/drm/radeon don't apply the "don't...



details:   https://anonhg.NetBSD.org/src/rev/68da1fd2697f
branches:  trunk
changeset: 337736:68da1fd2697f
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sat Apr 25 20:50:04 2015 +0000

description:
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 0176b2a2f514 -r 68da1fd2697f sys/external/bsd/drm2/dist/drm/radeon/radeon_display.c
--- a/sys/external/bsd/drm2/dist/drm/radeon/radeon_display.c    Sat Apr 25 19:10:29 2015 +0000
+++ b/sys/external/bsd/drm2/dist/drm/radeon/radeon_display.c    Sat Apr 25 20:50:04 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