diff options
| author | Dave Airlie <airlied@redhat.com> | 2013-10-31 01:29:10 -0400 |
|---|---|---|
| committer | Dave Airlie <airlied@redhat.com> | 2013-10-31 01:29:10 -0400 |
| commit | 74c85e1357e30f3f21944989bf9948038faef6ab (patch) | |
| tree | 53ad954488876b59ba9c1753385ac36dda1bcfd2 /drivers | |
| parent | 12aee278b50c4a94a93fa0b4d201ae35d792c696 (diff) | |
| parent | cdf6e8058415ba4d808537e30a0a6be9fb29e95a (diff) | |
Merge branch 'drm-fixes-3.12' of git://people.freedesktop.org/~agd5f/linux into drm-fixes
Just a few small fixes for radeon (audio regression fix,
stability fix, and an endian bug noticed by coverity).
* 'drm-fixes-3.12' of git://people.freedesktop.org/~agd5f/linux:
drm/radeon/dpm: fix incompatible casting on big endian
drm/radeon: disable bapm on KB
drm/radeon: use sw CTS/N values for audio on DCE4+
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/gpu/drm/radeon/evergreen_hdmi.c | 1 | ||||
| -rw-r--r-- | drivers/gpu/drm/radeon/kv_dpm.c | 2 | ||||
| -rw-r--r-- | drivers/gpu/drm/radeon/radeon.h | 4 |
3 files changed, 4 insertions, 3 deletions
diff --git a/drivers/gpu/drm/radeon/evergreen_hdmi.c b/drivers/gpu/drm/radeon/evergreen_hdmi.c index fe1de855775e..57fcc4b16a52 100644 --- a/drivers/gpu/drm/radeon/evergreen_hdmi.c +++ b/drivers/gpu/drm/radeon/evergreen_hdmi.c | |||
| @@ -291,6 +291,7 @@ void evergreen_hdmi_setmode(struct drm_encoder *encoder, struct drm_display_mode | |||
| 291 | /* fglrx clears sth in AFMT_AUDIO_PACKET_CONTROL2 here */ | 291 | /* fglrx clears sth in AFMT_AUDIO_PACKET_CONTROL2 here */ |
| 292 | 292 | ||
| 293 | WREG32(HDMI_ACR_PACKET_CONTROL + offset, | 293 | WREG32(HDMI_ACR_PACKET_CONTROL + offset, |
| 294 | HDMI_ACR_SOURCE | /* select SW CTS value */ | ||
| 294 | HDMI_ACR_AUTO_SEND); /* allow hw to sent ACR packets when required */ | 295 | HDMI_ACR_AUTO_SEND); /* allow hw to sent ACR packets when required */ |
| 295 | 296 | ||
| 296 | evergreen_hdmi_update_ACR(encoder, mode->clock); | 297 | evergreen_hdmi_update_ACR(encoder, mode->clock); |
diff --git a/drivers/gpu/drm/radeon/kv_dpm.c b/drivers/gpu/drm/radeon/kv_dpm.c index 71399065db04..b41905573cd2 100644 --- a/drivers/gpu/drm/radeon/kv_dpm.c +++ b/drivers/gpu/drm/radeon/kv_dpm.c | |||
| @@ -2635,7 +2635,7 @@ int kv_dpm_init(struct radeon_device *rdev) | |||
| 2635 | pi->caps_sclk_ds = true; | 2635 | pi->caps_sclk_ds = true; |
| 2636 | pi->enable_auto_thermal_throttling = true; | 2636 | pi->enable_auto_thermal_throttling = true; |
| 2637 | pi->disable_nb_ps3_in_battery = false; | 2637 | pi->disable_nb_ps3_in_battery = false; |
| 2638 | pi->bapm_enable = true; | 2638 | pi->bapm_enable = false; |
| 2639 | pi->voltage_drop_t = 0; | 2639 | pi->voltage_drop_t = 0; |
| 2640 | pi->caps_sclk_throttle_low_notification = false; | 2640 | pi->caps_sclk_throttle_low_notification = false; |
| 2641 | pi->caps_fps = false; /* true? */ | 2641 | pi->caps_fps = false; /* true? */ |
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h index a400ac1c4147..24f4960f59ee 100644 --- a/drivers/gpu/drm/radeon/radeon.h +++ b/drivers/gpu/drm/radeon/radeon.h | |||
| @@ -1272,8 +1272,8 @@ struct radeon_blacklist_clocks | |||
| 1272 | struct radeon_clock_and_voltage_limits { | 1272 | struct radeon_clock_and_voltage_limits { |
| 1273 | u32 sclk; | 1273 | u32 sclk; |
| 1274 | u32 mclk; | 1274 | u32 mclk; |
| 1275 | u32 vddc; | 1275 | u16 vddc; |
| 1276 | u32 vddci; | 1276 | u16 vddci; |
| 1277 | }; | 1277 | }; |
| 1278 | 1278 | ||
| 1279 | struct radeon_clock_array { | 1279 | struct radeon_clock_array { |
