summaryrefslogtreecommitdiff
path: root/drivers/pps
diff options
context:
space:
mode:
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>2018-06-02 12:29:45 +0100
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>2018-06-04 18:12:54 +0100
commit218b5000982b7c5e7433b86819be92f95984a1ae (patch)
tree3a5762a402305f37d9cddd87f25153cf5441ef36 /drivers/pps
parent30aacd3fe7f16bc577c612b710de8f047c2c492a (diff)
drm/i915: drop one bit on the hw_id when using guc
We currently using GuC as a proxy to the hardware. When Guc is used in such mode, it consumes the bit 20 of the hw_id to indicate that the workload was submitted by proxy. So far we probably haven't seen the issue because we need to allocate 1048576+ contexts to hit this issue. Still, we should avoid allocating the hw_id on that bit and restriction to bits [0:19] (i.e 20bits instead of 21). v2: Leave the max hw_id computation in i915_gem_context.c (Michel) v3: Be consistent on if/else usage (Chris) Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> BSpec: 1237 Reviewed-by: Michel Thierry <michel.thierry@intel.com> Acked-by: Chris Wilson <chris@chris-wilson.co.uk> Link: https://patchwork.freedesktop.org/patch/msgid/20180602112946.30803-2-lionel.g.landwerlin@intel.com
Diffstat (limited to 'drivers/pps')
0 files changed, 0 insertions, 0 deletions