mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 10:31:46 +09:00
drm/i915/mtl: Add the missing CPU transcoder mask in intel_device_info
[ Upstream commit6ece90e366] CPU transcoder mask is used to iterate over the available CPU transcoders in the macro for_each_cpu_transcoder(). The macro is broken on MTL and got highlighted when audio state was being tracked for each transcoder added in [1]. Add the missing CPU transcoder mask which is similar to ADL-P mask but without DSI transcoders. [1]: https://patchwork.freedesktop.org/patch/523723/ Fixes:7835303982("drm/i915/mtl: Add MeteorLake PCI IDs") Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Radhakrishna Sripada <radhakrishna.sripada@intel.com> Acked-by: Haridhar Kalvala <haridhar.kalvala@intel.com> Reviewed-by: Gustavo Sousa <gustavo.sousa@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20230420221248.2511314-1-radhakrishna.sripada@intel.com (cherry picked from commitbddc18913b) Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
2bb120405a
commit
4b08cdd239
@@ -1133,6 +1133,8 @@ static const struct intel_gt_definition xelpmp_extra_gt[] = {
|
|||||||
static const struct intel_device_info mtl_info = {
|
static const struct intel_device_info mtl_info = {
|
||||||
XE_HP_FEATURES,
|
XE_HP_FEATURES,
|
||||||
XE_LPDP_FEATURES,
|
XE_LPDP_FEATURES,
|
||||||
|
.__runtime.cpu_transcoder_mask = BIT(TRANSCODER_A) | BIT(TRANSCODER_B) |
|
||||||
|
BIT(TRANSCODER_C) | BIT(TRANSCODER_D),
|
||||||
/*
|
/*
|
||||||
* Real graphics IP version will be obtained from hardware GMD_ID
|
* Real graphics IP version will be obtained from hardware GMD_ID
|
||||||
* register. Value provided here is just for sanity checking.
|
* register. Value provided here is just for sanity checking.
|
||||||
|
|||||||
Reference in New Issue
Block a user