radeon_hd: crtc_memreq only on DCE 3 - 5
* Prevent some atombios missing table errors on DCE 6 and later
This commit is contained in:
parent
92f91bc8da
commit
1665250fa7
@ -577,7 +577,7 @@ display_crtc_dpms(uint8 crtcID, int mode)
|
|||||||
return;
|
return;
|
||||||
display_crtc_power(crtcID, ATOM_ENABLE);
|
display_crtc_power(crtcID, ATOM_ENABLE);
|
||||||
gDisplay[crtcID]->powered = true;
|
gDisplay[crtcID]->powered = true;
|
||||||
if (info.dceMajor >= 3)
|
if (info.dceMajor >= 3 && info.dceMajor < 6)
|
||||||
display_crtc_memreq(crtcID, ATOM_ENABLE);
|
display_crtc_memreq(crtcID, ATOM_ENABLE);
|
||||||
display_crtc_blank(crtcID, ATOM_BLANKING_OFF);
|
display_crtc_blank(crtcID, ATOM_BLANKING_OFF);
|
||||||
break;
|
break;
|
||||||
@ -589,7 +589,7 @@ display_crtc_dpms(uint8 crtcID, int mode)
|
|||||||
return;
|
return;
|
||||||
if (gDisplay[crtcID]->powered == true)
|
if (gDisplay[crtcID]->powered == true)
|
||||||
display_crtc_blank(crtcID, ATOM_BLANKING);
|
display_crtc_blank(crtcID, ATOM_BLANKING);
|
||||||
if (info.dceMajor >= 3)
|
if (info.dceMajor >= 3 && info.dceMajor < 6)
|
||||||
display_crtc_memreq(crtcID, ATOM_DISABLE);
|
display_crtc_memreq(crtcID, ATOM_DISABLE);
|
||||||
display_crtc_power(crtcID, ATOM_DISABLE);
|
display_crtc_power(crtcID, ATOM_DISABLE);
|
||||||
gDisplay[crtcID]->powered = false;
|
gDisplay[crtcID]->powered = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user