drm/i915/dsc: have intel_dsc_pps_read() return the value
authorJani Nikula <jani.nikula@intel.com>
Tue, 5 Sep 2023 17:11:22 +0000 (20:11 +0300)
committerJani Nikula <jani.nikula@intel.com>
Mon, 11 Sep 2023 15:35:16 +0000 (18:35 +0300)
commit9995d615125d9a323909171cba736905f6e68843
tree801b194acfc7a23c6012f0a2b131a462a11dcd01
parent34131651e1e192b68eaf30167c6bacb38e1870ab
drm/i915/dsc: have intel_dsc_pps_read() return the value

Register read functions usually return the value instead of passing via
pointer parameters. Return the multiple register verification results
via a pointer parameter, which can also be NULL to skip the extra
checks.

Make the name conform to existing style better while at it.

Cc: Suraj Kandpal <suraj.kandpal@intel.com>
Cc: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/4d08c0f63c4975cc8cd01b0f82845c989bf13dd0.1693933849.git.jani.nikula@intel.com
drivers/gpu/drm/i915/display/intel_vdsc.c