summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2024-11-29 09:50:13 +0300
committerVille Syrjälä <ville.syrjala@linux.intel.com>2025-01-13 19:37:02 +0300
commitb9ec6793355647bcbcecb21ef6cd179469d3f191 (patch)
tree65981df2117000dda7caa305f18e06bb54e77f19 /include
parent0bd39e303ee705c4b0549e2826c42c1d7b849898 (diff)
downloadlinux-b9ec6793355647bcbcecb21ef6cd179469d3f191.tar.xz
drm/i915/fb: Check that the clear color fits within the BO
Make sure the user supplied offset[] for the clear color plane fits within the actual BO. Note that we use tile units to track the size here. All the other color/aux planes are already being checked correctly. Cc: Sagar Ghuge <sagar.ghuge@intel.com> Cc: Nanley Chery <nanley.g.chery@intel.com> Cc: Xi Ruoyao <xry111@xry111.site> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20241129065014.8363-4-ville.syrjala@linux.intel.com Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions