diff options
author | Maarten Lankhorst <[email protected]> | 2016-06-07 12:49:30 +0200 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2016-06-07 15:30:09 +0200 |
commit | 7ea7728387820a21a89a7c3845dbe60926f82dc4 (patch) | |
tree | ec2bca8d99101cbd833d1ea63f7ca4269322dcbe /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | ddac4b5a6c08f8800002517ea5352b3eb9451cfc (diff) |
drm/core: Change declaration for gamma_set.
Change return value to int to propagate errors from gamma_set,
and remove start parameter. Updates always use the full size,
and some drivers even ignore the start parameter altogether.
This is needed for atomic drivers, where an atomic commit can
fail with -EINTR or -ENOMEM and should be restarted. This is already
and issue for drm_atomic_helper_legacy_set_gamma, which this patch
fixes up.
Changes since v1:
- Fix compiler warning. (Emil)
- Fix commit message (Daniel)
Cc: Alex Deucher <[email protected]>
Acked-by: Alex Deucher <[email protected]>
Cc: Christian König <[email protected]>
Cc: David Airlie <[email protected]>
Cc: Patrik Jakobsson <[email protected]>
Cc: Ben Skeggs <[email protected]>
Cc: Eric Anholt <[email protected]>
Cc: VMware Graphics <[email protected]>
Cc: Mathieu Larouche <[email protected]>
Cc: Thierry Reding <[email protected]>
Acked-by: Patrik Jakobsson <[email protected]>
Signed-off-by: Maarten Lankhorst <[email protected]>
[danvet: Improve commit message a bit more, mention that this fixes
the helper.]
Signed-off-by: Daniel Vetter <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions