On 10/12/16 01:32 AM, Jan Ziak wrote:
Hello Dave
Let's cool down the discussion a bit and try to work out a solution.
To summarize the facts, your decision implies that the probability of merging DAL/DC into the mainline Linux kernel the next year (2017) has become extremely low.
In essence, the strategy you are implicitly proposing is to move away from a software architecture which looks like this:
APPLICATION USERSPACE DRIVERS (OPENGL, XSERVER)
HAL/DC IN AMDGPU.KO (FREESYNC, etc) LINUX KERNEL SERVICES HARDWARE
towards a software architecture looking like this:
APPLICATION USERSPACE DRIVERS (OPENGL, XSERVER) USERSPACE HAL/DC IMPLEMENTATION (FREESYNC, etc)
AMDGPU.KO LINUX KERNEL SERVICES HARDWARE
You misunderstood what Dave wrote.
The whole discussion is mostly about the DC related code in the amdgpu driver and its interaction with core DRM/kernel code, i.e. mostly about code under drivers/gpu/drm/. It doesn't affect anything outside of that, certainly not how things are divided up between kernel and userspace.