From: Jerome Glisse Subject: Re: [PATCH] drm/radeon/kms: add query for crtc hw id from crtc id to get info Date: Fri, 7 May 2010 18:22:51 +0200 Message-ID: <20100507162251.GC6017@barney.localdomain> References: <1273245502-30539-1-git-send-email-jglisse@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by gabe.freedesktop.org (Postfix) with ESMTP id E9B819E74D for ; Fri, 7 May 2010 09:23:07 -0700 (PDT) Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: Alex Deucher Cc: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org On Fri, May 07, 2010 at 11:40:41AM -0400, Alex Deucher wrote: > On Fri, May 7, 2010 at 11:18 AM, Jerome Glisse wrote: > > Userspace need to know the hw crtc id (0, 1, 2, ...) from the drm > > crtc id. Bump the minor version so userspace can enable conditionaly > > features depend on this. > > Just curious what we need this for? Couldn't the id be handled in the > drm via relocs? > > Alex > It's for vblank event, i would have prefer that vblank event directly took kms crtc id but as intel also supported UMS this wasn't an option i guess. I am pondering on adding a new interface which directly took drm crtc_id. Cheers, Jerome