Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3802c5cb authored by Lionel Landwerlin's avatar Lionel Landwerlin
Browse files

drm/i915/perf: leave GDT_CHICKEN_BITS programming in configs



There will be a need for userspaces configurations to set this
register. We can apply the same model inside the kernel for test
configs.

Signed-off-by: default avatarLionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: default avatarMatthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170803165812.2373-4-lionel.g.landwerlin@intel.com
parent 701f8231
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -60,6 +60,7 @@ static const struct i915_oa_reg flex_eu_config_test_oa[] = {
};

static const struct i915_oa_reg mux_config_test_oa[] = {
	{ _MMIO(0x9840), 0x000000a0 },
	{ _MMIO(0x9888), 0x198b0000 },
	{ _MMIO(0x9888), 0x078b0066 },
	{ _MMIO(0x9888), 0x118b0000 },
@@ -72,6 +73,7 @@ static const struct i915_oa_reg mux_config_test_oa[] = {
	{ _MMIO(0x9888), 0x4f800000 },
	{ _MMIO(0x9888), 0x41800000 },
	{ _MMIO(0x9888), 0x31800000 },
	{ _MMIO(0x9840), 0x00000080 },
};

static ssize_t
+1 −0
Original line number Diff line number Diff line
@@ -60,6 +60,7 @@ static const struct i915_oa_reg flex_eu_config_test_oa[] = {
};

static const struct i915_oa_reg mux_config_test_oa[] = {
	{ _MMIO(0x9840), 0x00000080 },
	{ _MMIO(0x9888), 0x19800000 },
	{ _MMIO(0x9888), 0x07800063 },
	{ _MMIO(0x9888), 0x11800000 },
+2 −0
Original line number Diff line number Diff line
@@ -60,6 +60,7 @@ static const struct i915_oa_reg flex_eu_config_test_oa[] = {
};

static const struct i915_oa_reg mux_config_test_oa[] = {
	{ _MMIO(0x9840), 0x000000a0 },
	{ _MMIO(0x9888), 0x59800000 },
	{ _MMIO(0x9888), 0x59800001 },
	{ _MMIO(0x9888), 0x338b0000 },
@@ -71,6 +72,7 @@ static const struct i915_oa_reg mux_config_test_oa[] = {
	{ _MMIO(0x9888), 0x57800000 },
	{ _MMIO(0x1823a4), 0x00000000 },
	{ _MMIO(0x9888), 0x59800000 },
	{ _MMIO(0x9840), 0x00000080 },
};

static ssize_t
+1 −0
Original line number Diff line number Diff line
@@ -60,6 +60,7 @@ static const struct i915_oa_reg flex_eu_config_test_oa[] = {
};

static const struct i915_oa_reg mux_config_test_oa[] = {
	{ _MMIO(0x9840), 0x00000080 },
	{ _MMIO(0x9888), 0x19800000 },
	{ _MMIO(0x9888), 0x07800063 },
	{ _MMIO(0x9888), 0x11800000 },
+1 −0
Original line number Diff line number Diff line
@@ -42,6 +42,7 @@ static const struct i915_oa_reg flex_eu_config_render_basic[] = {
};

static const struct i915_oa_reg mux_config_render_basic[] = {
	{ _MMIO(0x9840), 0x00000080 },
	{ _MMIO(0x253a4), 0x01600000 },
	{ _MMIO(0x25440), 0x00100000 },
	{ _MMIO(0x25128), 0x00000000 },
Loading