[PATCH] drm/radeon/kms: add query for crtc hw id from crtc id to get info

Jerome Glisse jglisse at redhat.com
Fri May 7 09:22:51 PDT 2010


On Fri, May 07, 2010 at 11:40:41AM -0400, Alex Deucher wrote:
> On Fri, May 7, 2010 at 11:18 AM, Jerome Glisse <jglisse at redhat.com> 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


More information about the dri-devel mailing list