diff options
| author | Chris Wilson <[email protected]> | 2017-03-03 15:46:44 +0000 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2017-03-07 11:05:18 +0000 |
| commit | d2fa80a50a366bc87c8c0bd73d531dec974d20ae (patch) | |
| tree | b565e1652dd427f98267efa19122ae37e8afbcbd /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | aebfd1d37194e00d4c417e7be97efeb736cd9c04 (diff) | |
drm/i915: Avoid clearing the base drm_crtc_state
To prevent having to preserve the drm_crtc_state as we clear the
intel_crtc_state, only memset our extended state.
Fixes:
drivers/gpu/drm/i915/intel_display.c: In function ‘clear_intel_crtc_state’:
drivers/gpu/drm/i915/intel_display.c:11301:1: error: the frame size of 1056 bytes is larger than 1024 bytes [-Werror=frame-larger-than=]
v2: Add a comment and BUILD_BUG_ON to explain the memset()
Signed-off-by: Chris Wilson <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions