]> Git Repo - linux.git/commit
drm/i915: Add missing mask when reading GEN12_DSMBASE
authorLucas De Marchi <[email protected]>
Fri, 16 Sep 2022 17:36:06 +0000 (10:36 -0700)
committerLucas De Marchi <[email protected]>
Thu, 22 Sep 2022 13:43:29 +0000 (06:43 -0700)
commite5f415bfc5c2c94fbb124f8aabfc638168a44cf4
treea4c028123706e33e7347804543822d48b7c007ad
parent07a70f38e9c33b3c614668b12a847f9fe65a4e25
drm/i915: Add missing mask when reading GEN12_DSMBASE

DSMBASE register is defined so BDSM bitfield contains the bits 63 to 20
of the base address of stolen. For the supported platforms bits 0-19 are
zero but that may not be true in future. Add the missing mask.

v2: Use REG_GENMASK64()

Acked-by: Aravind Iddamsetty <[email protected]>
Reviewed-by: Caz Yokoyama <[email protected]>
Reviewed-by: Wayne Boyer <[email protected]>
Signed-off-by: Lucas De Marchi <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/gpu/drm/i915/gem/i915_gem_stolen.c
drivers/gpu/drm/i915/i915_reg.h
This page took 0.071905 seconds and 4 git commands to generate.