When multiple environments are running simultaneously on a system, e.g.
an X desktop + a SteamVR game session, it may be useful to sacrifice
performance in one environment in order to boost it on the other.
This series provides a mechanism for a DRM_MASTER to provide exclusive
gpu access to a grou
Hi Andres,
Why the fd is needed for this interface?
Why not just using the dev->fd instead of fd?
IIRC, if there are more than one fds opened in the process upon the same
device, they will share the same amdgpu_device_handle which is guaranteed by
amdgpu_device_initialize.
In other word, we shoul
On 2017-05-26 05:02 AM, Mao, David wrote:
Hi Andres,
Why the fd is needed for this interface?
The fd is used to identify the process for which we wish to raise the
priority. It can be any fd from the target process, it doesn't have to
be a drm file descriptor at all.
The fd is used to ret
Hi David,
the idea is that the compositor (which is DRM master) can change the
priority of it's clients.
So using dev->fd is pointless because that is the fd of the DRM master
process.
Regards,
Christian.
Am 26.05.2017 um 11:02 schrieb Mao, David:
Hi Andres,
Why the fd is needed for this
Looks like a good start, but a few notes in general:
1. Split the patches into two sets.
One for implementing changing the priorities and one for limiting the
priorities.
2. How are the priorities from processes supposed to interact with the
per context priority?
3. Thinking more about it
On 2017-05-30 11:19 AM, Christian König wrote:
Looks like a good start, but a few notes in general:
1. Split the patches into two sets.
One for implementing changing the priorities and one for limiting the
priorities.
No problem.
2. How are the priorities from processes supposed to inte
2. How are the priorities from processes supposed to interact with
the per context priority?
Do you mean process niceness?
There isn't any relationship between niceness and gpu priority.
Let me know if you meant something different here.
I meant something different.
The application contro
On 2017-05-31 02:53 AM, Christian König wrote:
2. How are the priorities from processes supposed to interact with
the per context priority?
Do you mean process niceness?
There isn't any relationship between niceness and gpu priority.
Let me know if you meant something different here.
I
Am 31.05.2017 um 20:46 schrieb Andres Rodriguez:
On 2017-05-31 02:53 AM, Christian König wrote:
2. How are the priorities from processes supposed to interact with
the per context priority?
Do you mean process niceness?
There isn't any relationship between niceness and gpu priority.
Let m