summaryrefslogtreecommitdiffstats
path: root/.gitattributes
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2017-04-11 15:24:54 +0100
committerChris Wilson <[email protected]>2017-10-20 11:28:17 +0100
commit1617fca6d12e418e02d18733dd0d1964c7ecbda9 (patch)
tree48bc5b88e5b04381af4b63ceef67b5e4f7a92a01 /.gitattributes
parent21023954f898bf871696e6e0eae2848e019fb2f9 (diff)
i965: Pass the EGL/DRI context priority through to the kernel
Decode the EGL/DRI priority enum into the [-1023, 1023] range as interpreted by the kernel and call DRM_I915_GEM_CONTEXT_SETPARAM to adjust the priority. We use 0 as the default medium priority (also the kernel default) and so only need adjust up or down. By only doing the adjustment if not setting to medium, we can faithfully report any error whilst setting without worrying about kernel version. Signed-off-by: Chris Wilson <[email protected]> Cc: Kenneth Graunke <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions