From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Wilson Subject: Re: [PATCH xf86-video-intel] uxa: fix possible_clones computation Date: Fri, 12 Oct 2012 09:49:27 +0100 Message-ID: <6c3329$6ngbp4@orsmga002.jf.intel.com> References: <1349989817-9510-1-git-send-email-przanoni@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by gabe.freedesktop.org (Postfix) with ESMTP id 210EE9E787 for ; Fri, 12 Oct 2012 01:49:39 -0700 (PDT) In-Reply-To: <1349989817-9510-1-git-send-email-przanoni@gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Paulo Zanoni , intel-gfx@lists.freedesktop.org Cc: Paulo Zanoni List-Id: intel-gfx@lists.freedesktop.org On Thu, 11 Oct 2012 18:10:17 -0300, Paulo Zanoni wrote: > From: Paulo Zanoni > > Libdrm's possible_clones is a mask of encoders. Xorg's possible_clones > is a mask of outputs, so we just can't do the following: > > output->possible_clones = kencoder->possible_clones; > > This is a problem on Haswell because, at least with the current > patches floating on the mailing list, there is more than one connector > per encoder. > > This patch writes the code to properly translate libdrm's encoder mask > into Xorg's output mask. > > Still need an SNA version. > > Signed-off-by: Paulo Zanoni Done and pushed, thanks. -Chris -- Chris Wilson, Intel Open Source Technology Centre