[haiku-commits] haiku: hrev43503 - src/add-ons/accelerants/radeon_hd

  • From: kallisti5@xxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 15 Dec 2011 01:07:20 +0100 (CET)

hrev43503 adds 3 changesets to branch 'master'
old head: 3692fd58c55d6abc7da78f2667c8cd0730dfe0ad
new head: d3e31951126b42f65cb57ac59eebeba003b34973

----------------------------------------------------------------------------

328f6e6: No longer a pitty. No functional change.

e574a53: Small bugfix in dig_setup dceMajor check

d3e3195: Small unknown table minor check, no real functional change

                          [ Alexander von Gluck IV <kallisti5@xxxxxxxxxxx> ]

----------------------------------------------------------------------------

1 files changed, 3 insertions(+), 7 deletions(-)
src/add-ons/accelerants/radeon_hd/encoder.cpp |   10 +++-------

############################################################################

Commit:      328f6e648554f2c253a0a62e13d5bf997d596e8b
URL:         http://cgit.haiku-os.org/haiku/commit/?id=328f6e6
Author:      Alexander von Gluck IV <kallisti5@xxxxxxxxxxx>
Date:        Wed Dec 14 23:56:50 2011 UTC

No longer a pitty. No functional change.

----------------------------------------------------------------------------

diff --git a/src/add-ons/accelerants/radeon_hd/encoder.cpp 
b/src/add-ons/accelerants/radeon_hd/encoder.cpp
index f8b3244..c207eb8 100644
--- a/src/add-ons/accelerants/radeon_hd/encoder.cpp
+++ b/src/add-ons/accelerants/radeon_hd/encoder.cpp
@@ -319,12 +319,6 @@ encoder_mode_set(uint8 id, uint32 pixelClock)
                        break;
                case ENCODER_OBJECT_ID_TRAVIS: // external DP -> LVDS encoder
                case ENCODER_OBJECT_ID_NUTMEG: // external DP -> VGA encoder
-                       ERROR("%s: Oh, you have a TRAVIS or NUTMEG DP external 
encoder..."
-                               " what a pitty.\n", __func__);
-                       // * PALM can have native LVDS / VGA, or have them 
wired via DP
-                       //   This is an OEM choice on PALM chipsets
-                       // * SUMO or SUMO2 *always* have LVDS or VGA connected 
through DP
-                       // fallthrough
                case ENCODER_OBJECT_ID_SI170B:
                case ENCODER_OBJECT_ID_CH7303:
                case ENCODER_OBJECT_ID_EXTERNAL_SDVOA:

############################################################################

Commit:      e574a539eb0382e5ddba8bcdec57a503921f5385
URL:         http://cgit.haiku-os.org/haiku/commit/?id=e574a53
Author:      Alexander von Gluck IV <kallisti5@xxxxxxxxxxx>
Date:        Thu Dec 15 00:02:12 2011 UTC

Small bugfix in dig_setup dceMajor check

----------------------------------------------------------------------------

diff --git a/src/add-ons/accelerants/radeon_hd/encoder.cpp 
b/src/add-ons/accelerants/radeon_hd/encoder.cpp
index c207eb8..4ececab 100644
--- a/src/add-ons/accelerants/radeon_hd/encoder.cpp
+++ b/src/add-ons/accelerants/radeon_hd/encoder.cpp
@@ -503,7 +503,7 @@ encoder_dig_setup(uint32 connectorIndex, uint32 pixelClock, 
int command)
        radeon_shared_info &info = *gInfo->shared_info;
 
        int index = 0;
-       if (info.dceMajor > 4)
+       if (info.dceMajor >= 4)
                index = GetIndexIntoMasterTable(COMMAND, DIGxEncoderControl);
        else {
                if (encoder_pick_dig(connectorIndex))

############################################################################

Revision:    hrev43503
Commit:      d3e31951126b42f65cb57ac59eebeba003b34973
URL:         http://cgit.haiku-os.org/haiku/commit/?id=d3e3195
Author:      Alexander von Gluck IV <kallisti5@xxxxxxxxxxx>
Date:        Thu Dec 15 00:06:13 2011 UTC

Small unknown table minor check, no real functional change

----------------------------------------------------------------------------

diff --git a/src/add-ons/accelerants/radeon_hd/encoder.cpp 
b/src/add-ons/accelerants/radeon_hd/encoder.cpp
index 4ececab..75b2ce7 100644
--- a/src/add-ons/accelerants/radeon_hd/encoder.cpp
+++ b/src/add-ons/accelerants/radeon_hd/encoder.cpp
@@ -654,6 +654,8 @@ encoder_dig_setup(uint32 connectorIndex, uint32 pixelClock, 
int command)
                        args.v4.ucHPD_ID = 0;
                        ERROR("%s: tableMinor 4 TODO!\n", __func__);
                        break;
+               default:
+                       ERROR("%s: unknown tableMinor!\n", __func__);
        }
 
        status_t result = atom_execute_table(gAtomContext, index, 
(uint32*)&args);


Other related posts:

  • » [haiku-commits] haiku: hrev43503 - src/add-ons/accelerants/radeon_hd - kallisti5