dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
From: Carlos Palminha <CARLOS.PALMINHA@synopsys.com>
To: Daniel Vetter <daniel@ffwll.ch>,
	Carlos Palminha <CARLOS.PALMINHA@synopsys.com>
Cc: airlied@linux.ie, dri-devel@lists.freedesktop.org,
	daniel.vetter@ffwll.ch, patrik.r.jakobsson@gmail.com,
	virtualization@lists.linux-foundation.org, jani.nikula@intel.com,
	sudipm.mukherjee@gmail.com, nicolas.pitre@linaro.org,
	linux-renesas-soc@vger.kernel.org,
	laurent.pinchart@ideasonboard.com, benjamin.gaignard@linaro.org,
	vincent.abriou@st.com, boris.brezillon@free-electrons.com,
	kraxel@redhat.com, jianwei.wang.chn@gmail.com,
	alison.wang@freescale.com
Subject: Re: [PATCH 01/16] drm: fixes crct set_mode when crtc mode_fixup is null.
Date: Tue, 16 Feb 2016 15:24:05 +0000	[thread overview]
Message-ID: <56C33F15.2050307@synopsys.com> (raw)
In-Reply-To: <20160216143733.GF32705@phenom.ffwll.local>

Thanks!

On 16-02-2016 14:37, Daniel Vetter wrote:
> On Tue, Feb 16, 2016 at 02:10:03PM +0000, Carlos Palminha wrote:
>> This patch set nukes all the dummy crtc mode_fixup implementations.
>> (made on top of Daniel topic/drm-misc branch)
>>
>> Signed-off-by: Carlos Palminha <palminha@synopsys.com>
> 
> Applied this one to drm-misc. I'll let the others hang out there for a bit
> more to collect acks.
> 
> Thanks, Daniel
> 
>> ---
>>  drivers/gpu/drm/drm_crtc_helper.c | 9 ++++++---
>>  1 file changed, 6 insertions(+), 3 deletions(-)
>>
>> diff --git a/drivers/gpu/drm/drm_crtc_helper.c b/drivers/gpu/drm/drm_crtc_helper.c
>> index e70d064..7539eea 100644
>> --- a/drivers/gpu/drm/drm_crtc_helper.c
>> +++ b/drivers/gpu/drm/drm_crtc_helper.c
>> @@ -343,9 +343,12 @@ bool drm_crtc_helper_set_mode(struct drm_crtc *crtc,
>>  		}
>>  	}
>>  
>> -	if (!(ret = crtc_funcs->mode_fixup(crtc, mode, adjusted_mode))) {
>> -		DRM_DEBUG_KMS("CRTC fixup failed\n");
>> -		goto done;
>> +	if (crtc_funcs->mode_fixup) {
>> +		if (!(ret = crtc_funcs->mode_fixup(crtc, mode,
>> +						adjusted_mode))) {
>> +			DRM_DEBUG_KMS("CRTC fixup failed\n");
>> +			goto done;
>> +		}
>>  	}
>>  	DRM_DEBUG_KMS("[CRTC:%d:%s]\n", crtc->base.id, crtc->name);
>>  
>> -- 
>> 2.5.0
>>
> 

  reply	other threads:[~2016-02-16 15:24 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-16 14:09 [PATCH 00/16] drm crtc cleanup: nuke optional dummy crtc mode_fixup function Carlos Palminha
2016-02-16 14:10 ` [PATCH 01/16] drm: fixes crct set_mode when crtc mode_fixup is null Carlos Palminha
2016-02-16 14:37   ` Daniel Vetter
2016-02-16 15:24     ` Carlos Palminha [this message]
2016-03-04 10:14     ` Carlos Palminha
2016-02-16 17:37   ` Sergei Shtylyov
2016-02-16 19:39     ` Daniel Vetter
2016-02-16 14:16 ` [PATCH 02/16] drm/cirrus: removed optional dummy crtc mode_fixup function Carlos Palminha
2016-02-16 14:17 ` [PATCH 03/16] drm/mgag200: " Carlos Palminha
2016-02-16 14:17 ` [PATCH 04/16] drm/udl: " Carlos Palminha
2016-02-16 14:17 ` [PATCH 05/16] drm/gma: " Carlos Palminha
2016-03-07 14:31   ` Patrik Jakobsson
2016-02-16 14:18 ` [PATCH 06/16] drm/rcar-du: " Carlos Palminha
2016-02-17 15:23   ` Laurent Pinchart
2016-02-16 14:18 ` [PATCH 07/16] drm/omapdrm: " Carlos Palminha
2016-02-17 15:24   ` Laurent Pinchart
2016-02-16 14:18 ` [PATCH 08/16] drm/msm/mdp: " Carlos Palminha
2016-02-16 14:18 ` [PATCH 09/16] drm/shmobile: " Carlos Palminha
2016-02-17 15:24   ` Laurent Pinchart
2016-02-16 14:18 ` [PATCH 10/16] drm/sti: " Carlos Palminha
2016-02-16 14:19 ` [PATCH 11/16] drm/atmel-hldcd: " Carlos Palminha
2016-02-16 16:58   ` Boris Brezillon
2016-02-17  9:02     ` Carlos Palminha
2016-02-17 13:08       ` Daniel Vetter
2016-03-04 10:17         ` Boris Brezillon
2016-02-16 14:19 ` [PATCH 12/16] drm/nouveau/dispnv04: " Carlos Palminha
2016-02-16 14:19 ` [PATCH 13/16] drm/virtio: " Carlos Palminha
2016-02-16 14:19 ` [PATCH 14/16] drm/fsl-dcu: " Carlos Palminha
2016-02-16 14:20 ` [PATCH 15/16] drm/bochs: " Carlos Palminha
2016-02-16 14:20 ` [PATCH 16/16] drm/ast: " Carlos Palminha
2016-03-04 17:18 ` [PATCH 00/16] drm crtc cleanup: nuke " Daniel Vetter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56C33F15.2050307@synopsys.com \
    --to=carlos.palminha@synopsys.com \
    --cc=airlied@linux.ie \
    --cc=alison.wang@freescale.com \
    --cc=benjamin.gaignard@linaro.org \
    --cc=boris.brezillon@free-electrons.com \
    --cc=daniel.vetter@ffwll.ch \
    --cc=daniel@ffwll.ch \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=jani.nikula@intel.com \
    --cc=jianwei.wang.chn@gmail.com \
    --cc=kraxel@redhat.com \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=nicolas.pitre@linaro.org \
    --cc=patrik.r.jakobsson@gmail.com \
    --cc=sudipm.mukherjee@gmail.com \
    --cc=vincent.abriou@st.com \
    --cc=virtualization@lists.linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).