]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/dsc: clean up rc parameter table access
authorJani Nikula <jani.nikula@intel.com>
Mon, 4 Nov 2019 14:14:37 +0000 (16:14 +0200)
committerJani Nikula <jani.nikula@intel.com>
Tue, 5 Nov 2019 12:46:58 +0000 (14:46 +0200)
commit6aead5df0556e44338cf305988ddea7e5c3f2e33
tree16348209a74ac68514ac410fadda67c91446b3db
parent074f51574e7ae81b91b2ac4182c2425087cb8356
drm/i915/dsc: clean up rc parameter table access

Use a simple pointer to the relevant element instead of duplicating the
array subscription. No functional changes.

Cc: Manasi Navare <manasi.d.navare@intel.com>
Reviewed-by: Manasi Navare <manasi.d.navare@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191104141439.26312-2-jani.nikula@intel.com
drivers/gpu/drm/i915/display/intel_vdsc.c