drm/i915: Un-magic a DPCD register write
authorAdam Jackson <ajax@redhat.com>
Mon, 5 Apr 2010 21:58:00 +0000 (17:58 -0400)
committerEric Anholt <eric@anholt.net>
Mon, 12 Apr 2010 16:23:46 +0000 (09:23 -0700)
Signed-off-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/intel_dp.c

index a0e18b01612e2beea6408e21f60e9b5dfd279201..fee54169493b30040b0a24dbdc0c6b0f99ffded2 100644 (file)
@@ -1004,7 +1004,7 @@ intel_dp_link_train(struct intel_encoder *intel_encoder, uint32_t DP,
        u32 reg;
 
        /* Write the link configuration data */
-       intel_dp_aux_native_write(intel_encoder, 0x100,
+       intel_dp_aux_native_write(intel_encoder, DP_LINK_BW_SET,
                                  link_configuration, DP_LINK_CONFIGURATION_SIZE);
 
        DP |= DP_PORT_EN;