drm/i915/dmc: hide DMC version macros
The macros are now only needed within intel_dmc.c, so move them there. Signed-off-by: Jani Nikula <jani.nikula@intel.com> Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220330113417.220964-2-jani.nikula@intel.com
This commit is contained in:
parent
5efde05f6a
commit
fe1295e628
|
@ -37,6 +37,10 @@
|
||||||
* low-power state and comes back to normal.
|
* low-power state and comes back to normal.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define DMC_VERSION(major, minor) ((major) << 16 | (minor))
|
||||||
|
#define DMC_VERSION_MAJOR(version) ((version) >> 16)
|
||||||
|
#define DMC_VERSION_MINOR(version) ((version) & 0xffff)
|
||||||
|
|
||||||
#define DMC_PATH(platform, major, minor) \
|
#define DMC_PATH(platform, major, minor) \
|
||||||
"i915/" \
|
"i915/" \
|
||||||
__stringify(platform) "_dmc_ver" \
|
__stringify(platform) "_dmc_ver" \
|
||||||
|
|
|
@ -13,10 +13,6 @@
|
||||||
struct drm_i915_error_state_buf;
|
struct drm_i915_error_state_buf;
|
||||||
struct drm_i915_private;
|
struct drm_i915_private;
|
||||||
|
|
||||||
#define DMC_VERSION(major, minor) ((major) << 16 | (minor))
|
|
||||||
#define DMC_VERSION_MAJOR(version) ((version) >> 16)
|
|
||||||
#define DMC_VERSION_MINOR(version) ((version) & 0xffff)
|
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
DMC_FW_MAIN = 0,
|
DMC_FW_MAIN = 0,
|
||||||
DMC_FW_PIPEA,
|
DMC_FW_PIPEA,
|
||||||
|
|
Loading…
Reference in New Issue