OSDN Git Service

drm/i915: WARN if plane src coords are too big
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 11 Jan 2021 16:37:01 +0000 (18:37 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 27 Jan 2021 21:32:33 +0000 (23:32 +0200)
commit2aa0f4faa1649199dd714f05672788910a811ce0
tree5dc285f57bf0acb8b39d37b2ead5657e4e81a841
parent784953a46589276b38d7e6dcb5ebf7e29db72ff1
drm/i915: WARN if plane src coords are too big

Inform us if we're buggy and are about to exceed the size of the
bitfields in the plane TILEOFF/OFFSET registers.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210111163711.12913-2-ville.syrjala@linux.intel.com
Reviewed-by: Karthik B S <karthik.b.s@intel.com>
drivers/gpu/drm/i915/display/i9xx_plane.c
drivers/gpu/drm/i915/display/intel_display.c