aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorLucas De Marchi <[email protected]>2019-06-25 10:54:11 -0700
committerLucas De Marchi <[email protected]>2019-06-28 10:07:26 -0700
commit501ec325f1ec4338c0b6d32001a6f4cdfc61a6b2 (patch)
tree2c715dbe10e3d5c28f257d3ec12b4f5543f9004c /tools/perf/scripts/python/bin
parent7218524d3ea00dda75d2f0989ab4dcb631f00b61 (diff)
drm/i915: rework reading pipe disable fuses
This prepares to have possibly more than 3 pipes. I didn't want to continue the previous approach since the check for "are the disabled pipes the last ones" poses a combinatory explosion. We need that check because in several places of the code we have that assumption. If that ever becomes false in a new HW, other parts of the code would have to change. Now we start by considering we have info->num_pipes enabled and disable each pipe that is marked as disabled. Then it's a simple matter of checking if we have at least one pipe and that all the enabled ones are the first pipes, i.e. there are no holes in the bitmask. Cc: Jose Souza <[email protected]> Cc: Ville Syrjälä <[email protected]> Signed-off-by: Lucas De Marchi <[email protected]> Reviewed-by: Ville Syrjälä <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions