diff options
author | Jani Nikula <jani.nikula@intel.com> | 2021-09-30 14:24:32 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2021-10-01 11:43:51 +0300 |
commit | 207ea507a1478dcc7085ce74e15dfc62b67ec11b (patch) | |
tree | c375da00807eaff1e892f823ff9093132c2d518c /drivers/gpu/drm/gud | |
parent | 3e2947cd894506c8c0c6cb6ffb704e121e934ae8 (diff) |
drm/i915/dsi: fuse dsi_send_pkt_payld() and add_payld_to_queue()
Having two functions for this seems like excess duplication and
parameter juggling. Merge them together.
While at it, drop the extra error message, as wait_for_payload_credits()
already prints an error, and switch from incidental -EPERM (i.e. -1) to
actual error codes.
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/f74f7462a36e76070db6b4c01616d0eb663b9938.1633000838.git.jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/gud')
0 files changed, 0 insertions, 0 deletions