mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-16 07:07:34 +07:00
drm/i915: fix ELD writing for SandyBridge
SandyBridge should be using the same register addresses as IvyBridge. Signed-off-by: Wu Fengguang <fengguang.wu@intel.com> Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
384703b8e6
commit
b3f33cbf7a
@ -5876,14 +5876,14 @@ static void ironlake_write_eld(struct drm_connector *connector,
|
||||
int aud_cntl_st;
|
||||
int aud_cntrl_st2;
|
||||
|
||||
if (IS_IVYBRIDGE(connector->dev)) {
|
||||
hdmiw_hdmiedid = GEN7_HDMIW_HDMIEDID_A;
|
||||
aud_cntl_st = GEN7_AUD_CNTRL_ST_A;
|
||||
aud_cntrl_st2 = GEN7_AUD_CNTRL_ST2;
|
||||
} else {
|
||||
if (HAS_PCH_IBX(connector->dev)) {
|
||||
hdmiw_hdmiedid = GEN5_HDMIW_HDMIEDID_A;
|
||||
aud_cntl_st = GEN5_AUD_CNTL_ST_A;
|
||||
aud_cntrl_st2 = GEN5_AUD_CNTL_ST2;
|
||||
} else {
|
||||
hdmiw_hdmiedid = GEN7_HDMIW_HDMIEDID_A;
|
||||
aud_cntl_st = GEN7_AUD_CNTRL_ST_A;
|
||||
aud_cntrl_st2 = GEN7_AUD_CNTRL_ST2;
|
||||
}
|
||||
|
||||
i = to_intel_crtc(crtc)->pipe;
|
||||
|
Loading…
Reference in New Issue
Block a user