OMAP2: Add funcs for writing SMS_ROT_* registers
SMS_ROT_* registers are used by VRFB rotation engine. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com> Acked-by: Tony Lindgren <tony@atomide.com> Acked-by: Paul Walmsley <paul@pwsan.com>
This commit is contained in:
@@ -160,3 +160,19 @@ void __init omap2_sdrc_init(struct omap_sdrc_params *sdrc_cs0,
|
||||
sdrc_write_reg(l, SDRC_POWER);
|
||||
omap2_sms_save_context();
|
||||
}
|
||||
|
||||
void omap2_sms_write_rot_control(u32 val, unsigned ctx)
|
||||
{
|
||||
sms_write_reg(val, SMS_ROT_CONTROL(ctx));
|
||||
}
|
||||
|
||||
void omap2_sms_write_rot_size(u32 val, unsigned ctx)
|
||||
{
|
||||
sms_write_reg(val, SMS_ROT_SIZE(ctx));
|
||||
}
|
||||
|
||||
void omap2_sms_write_rot_physical_ba(u32 val, unsigned ctx)
|
||||
{
|
||||
sms_write_reg(val, SMS_ROT_PHYSICAL_BA(ctx));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user