OSDN Git Service

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)
commit370d757da92f051e954e7743152e8e6c90046354
treef18b274109e2266b5068ae243abce04253015708
parentbe03564bd7b60b119aac60443b3602bac38d6405
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