]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Move verify_wm_state() to heap
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 19 Feb 2019 12:21:51 +0000 (12:21 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 19 Feb 2019 14:27:35 +0000 (14:27 +0000)
commitcae9df478478fefb5c8a12bbe8289824ca1a7700
treef18b274109e2266b5068ae243abce04253015708
parentcaa4ea114e98e7633db7fc6e863884523c53eaad
drm/i915: Move verify_wm_state() to heap

The stack usage exceeded 1024 bytes prompting warnings on conservative
setups, so move the temporary allocation for HW readback onto the heap.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190219122215.8941-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_display.c