summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/drm_property.c
diff options
context:
space:
mode:
authorStuart Summers <stuart.summers@intel.com>2019-08-23 19:03:03 +0300
committerChris Wilson <chris@chris-wilson.co.uk>2019-08-23 21:14:24 +0300
commit6db40ec80f544e289fe836319b20fcc19a454e8d (patch)
tree3d687d6604c9a53f6593b319288d1c51e89eb4a4 /drivers/gpu/drm/drm_property.c
parent9e8a135ed5a414ba4333cda22b01ae77291f6b9b (diff)
downloadlinux-6db40ec80f544e289fe836319b20fcc19a454e8d.tar.xz
drm/i915: Use subslice stride to set subslices for a given slice
Add a subslice stride calculation when setting subslices. This aligns more closely with the userspace expectation of the subslice mask structure. v2: Use local variable for subslice_mask on HSW and clean up a few other subslice_mask local variable changes v3: Add GEM_BUG_ON for ss_stride to prevent array overflow (Chris) Split main set function and refactors in intel_device_info.c into separate patches (Chris) v4: Reduce ss_stride size check when setting subslices per slice based on actual expected max stride (Chris) Move that GEM_BUG_ON check for the ss_stride out to the patch which adds the ss_stride v5: Use memcpy instead of looping through each stride index Signed-off-by: Stuart Summers <stuart.summers@intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Link: https://patchwork.freedesktop.org/patch/msgid/20190823160307.180813-8-stuart.summers@intel.com
Diffstat (limited to 'drivers/gpu/drm/drm_property.c')
0 files changed, 0 insertions, 0 deletions