drm/i915/dsc: have intel_dsc_pps_read_and_verify() return the value
authorJani Nikula <jani.nikula@intel.com>
Tue, 5 Sep 2023 17:11:21 +0000 (20:11 +0300)
committerJani Nikula <jani.nikula@intel.com>
Mon, 11 Sep 2023 15:35:16 +0000 (18:35 +0300)
commit34131651e1e192b68eaf30167c6bacb38e1870ab
tree678f7ba827b7c7557569ee26f24aed0255819f12
parentd28c8222824140773e0583dd400de6f08faf3a1c
drm/i915/dsc: have intel_dsc_pps_read_and_verify() return the value

Register read functions usually return the value instead of passing via
pointer parameters. The calling code becomes easier to read.

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/89b7d70bb19114ab3ff0e150a4b862d8032f136d.1693933849.git.jani.nikula@intel.com
drivers/gpu/drm/i915/display/intel_vdsc.c