Re: userptr support in drm drivers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Christian,

On Tue, 16 Feb 2016 21:33:51 +0100, Christian König wrote:
> At least for Radeon and Amdgpu the current situation is actually what we 
> want.
> 
> > However I still find it confusing
> > that full userptr support is under #if defined(CONFIG_MMU_NOTIFIER),
> > and not under #if defined(CONFIG_RADEON_USERPTR), resp. #if
> > defined(CONFIG_AMDGPU_USERPTR). It means that full userptr support may
> > be included even if these options are disabled.
> Which is perfectly fine. Userptr support should be enabled when 
> MMU_NOTIFIER is available.
> 
> How this becomes available is a different story. You can explicitly 
> enable it which then pulls in the MMU_NOTIFIER dependency or you just 
> enable it when you have the notfier anyway because of some other dependency.

Again, how is this any better than just selecting MMU_NOTIFIER unconditionally?

The proliferation of kconfig options is not helping.

> That we have two options doing the same is just a matter of branching of 
> amdgpu from radeon and not cleaning up the configuration options. So 
> feel free to cleaning this up and write a patch which makes pulling in 
> MMU_NOTIFIER as a general DRM option.

-- 
Jean Delvare
SUSE L3 Support
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux