[PATCH xf86-video-amdgpu] Initialize drmmode_crtc dpms_mode to DPMSModeOff
Michel Dänzer
michel at daenzer.net
Wed Jan 13 01:47:53 PST 2016
On 13.01.2016 15:03, Mykola Lysenko wrote:
> This disables query of disabled pipes for drmWaitVBlank on X start
>
> Signed-off-by: Mykola Lysenko <Mykola.Lysenko at amd.com>
> ---
> src/drmmode_display.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/src/drmmode_display.c b/src/drmmode_display.c
> index d3dc4b6..dadd8ad 100644
> --- a/src/drmmode_display.c
> +++ b/src/drmmode_display.c
> @@ -975,6 +975,7 @@ drmmode_crtc_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode, drmModeResPtr mode_res
> drmmode_crtc->mode_crtc =
> drmModeGetCrtc(pAMDGPUEnt->fd, mode_res->crtcs[num]);
> drmmode_crtc->drmmode = drmmode;
> + drmmode_crtc->dpms_mode = DPMSModeOff;
> crtc->driver_private = drmmode_crtc;
> drmmode_crtc_hw_id(crtc);
Reviewed and pushed, thanks!
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Mesa and X developer
More information about the xorg-driver-ati
mailing list